CVE-2021-37714 (High) detected in jsoup-1.13.1.jar #25
Labels
good first issue
Good for newcomers
Mend: dependency security vulnerability
Security vulnerability detected by WhiteSource
CVE-2021-37714 - High Severity Vulnerability
Vulnerable Library - jsoup-1.13.1.jar
jsoup is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods. jsoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do.
Library home page: https://jsoup.org/
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/jsoup/jsoup/1.13.1/jsoup-1.13.1.jar
Dependency Hierarchy:
Found in HEAD commit: 160e69822964b88ff887ba903106f5fc169a5abf
Found in base branch: main
Vulnerability Details
jsoup is a Java library for working with HTML. Those using jsoup versions prior to 1.14.2 to parse untrusted HTML or XML may be vulnerable to DOS attacks. If the parser is run on user supplied input, an attacker may supply content that causes the parser to get stuck (loop indefinitely until cancelled), to complete more slowly than usual, or to throw an unexpected exception. This effect may support a denial of service attack. The issue is patched in version 1.14.2. There are a few available workarounds. Users may rate limit input parsing, limit the size of inputs based on system resources, and/or implement thread watchdogs to cap and timeout parse runtimes.
Publish Date: 2021-08-18
URL: CVE-2021-37714
CVSS 3 Score Details (7.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://jsoup.org/news/release-1.14.2
Release Date: 2021-08-18
Fix Resolution: org.jsoup:jsoup:1.14.2
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: