CVE-2021-37714 — jsoup
HIGHCVE-2021-37714 is a high-severity (CVSS 7.5) CWE-248 vulnerability in org.jsoup:jsoup. A fix is available for org.jsoup:jsoup — see the affected versions and patch details below.
Uncaught Exception in jsoup
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2021-37714.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.jsoup:jsoupReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
What kind of vulnerability is it? Who is impacted? 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.
Patches
Has the problem been patched? What versions should users upgrade to? Users should upgrade to jsoup 1.14.2
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading? Users may rate limit input parsing. Users should limit the size of inputs based on system resources. Users should implement thread watchdogs to cap and timeout parse runtimes.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jsoup:jsoup | all versions | 1.14.2org.jsoup:jsoup:1.14.2 |
Affected Products
jsoupjsoupmanagement services for element software and netapp hcinetappbanking trade financeoraclebanking treasury managementoraclebusiness process management suiteoraclecommunications messaging serveroracleDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jsoup:jsoup, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jsoup:jsoup to 1.14.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-37714 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| EAP 7.3.10 GA | jsoup | RHSA-2021:5154 |
| Red Hat build of Quarkus 2.2.5 | jsoup | RHSA-2022:0589 |
| Red Hat EAP-XP 2 via EAP 7.3.x base | jsoup | RHSA-2022:0146 |
| Red Hat Fuse 7.10 | jsoup | RHSA-2021:5134 |
| Red Hat JBoss Enterprise Application Platform | org.jsoup/jsoup:1.14.2.redhat-00002 | RHSA-2021:4679 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-activemq-artemis-0:1.5.5.016-1.redhat_00001.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6 | eap7-apache-cxf-0:3.3.12-1.redhat_00001.1.el6eap | RHSA-2021:5149 |
| Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 7 | eap7-apache-cxf-0:3.3.12-1.redhat_00001.1.el7eap | RHSA-2021:5150 |
Frequently Asked Questions
Is CVE-2021-37714 in your dependencies?
Find it across Maven, including transitive dependencies.