Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jsoup/jsoup
  4. ›
  5. CVE-2021-37714

CVE-2021-37714: Uncaught Exception

August 18, 2021 (updated November 9, 2023)

jsoup is a Java library for working with HTML. Those using jsoup 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 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.

References

  • jsoup.org/news/release-1.14.1
  • jsoup.org/news/release-1.14.2
  • nvd.nist.gov/vuln/detail/CVE-2021-37714

Code Behaviors & Features

Detect and mitigate CVE-2021-37714 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.14.2

Fixed versions

  • 1.14.2

Solution

Upgrade to version 1.14.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-248: Uncaught Exception

Source file

maven/org.jsoup/jsoup/CVE-2021-37714.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.