CVE-2021-37714

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-37714
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-37714.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-37714
Aliases
Downstream
Related
Published
2021-08-18T15:15:08Z
Modified
2025-09-19T13:09:43.941189Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/jhy/jsoup

Affected ranges

Type
GIT
Repo
https://github.com/jhy/jsoup
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.12.2

jsoup-1.*

jsoup-1.10.1
jsoup-1.10.2
jsoup-1.10.3
jsoup-1.11.1
jsoup-1.11.2
jsoup-1.11.3
jsoup-1.12.1
jsoup-1.12.2
jsoup-1.13.1
jsoup-1.14.1
jsoup-1.6.2
jsoup-1.6.3
jsoup-1.7.1
jsoup-1.7.2
jsoup-1.7.3
jsoup-1.8.1.a
jsoup-1.8.2
jsoup-1.8.3
jsoup-1.8.3a
jsoup-1.9.1
jsoup-1.9.1a
jsoup-1.9.2