CVE-2021-37714
published high CVSS 3.1 · 7.5Crafted input may cause the jsoup HTML and XML parser to get stuck, timeout, or throw unchecked exceptions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jhy | — | jsoup< 1.14.2 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2813 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-884 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP2 | jsoupnoarch | Advisory build | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| Amazon Linux | AL2 | jsoupnoarch | Listed in advisory | Not stated | ALAS2-2025-2813 |
| SUSE / openSUSE | SLE-15-SP3 | jsoupnoarch | Advisory build | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jsoupnoarch | Advisory build | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsoupaarch64 | Advisory build | 1.14.2-1.2 | OPENSUSE-SU-2024:10882-1 |
Show 23 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | jsoupppc64le | Advisory build | 1.14.2-1.2 | OPENSUSE-SU-2024:10882-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsoups390x | Advisory build | 1.14.2-1.2 | OPENSUSE-SU-2024:10882-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsoupx86_64 | Advisory build | 1.14.2-1.2 | OPENSUSE-SU-2024:10882-1 |
| SUSE / openSUSE | SLE-15-SP2 | jsr-305noarch | Advisory build | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE / openSUSE | SLE-15-SP3 | jsr-305noarch | Advisory build | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jsoup-javadocnoarch | Advisory build | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jsr-305noarch | Advisory build | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jsr-305-javadocnoarch | Advisory build | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsoup-javadocaarch64 | Advisory build | 1.14.2-1.2 | OPENSUSE-SU-2024:10882-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsoup-javadocppc64le | Advisory build | 1.14.2-1.2 | OPENSUSE-SU-2024:10882-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsoup-javadocs390x | Advisory build | 1.14.2-1.2 | OPENSUSE-SU-2024:10882-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsoup-javadocx86_64 | Advisory build | 1.14.2-1.2 | OPENSUSE-SU-2024:10882-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsr-305aarch64 | Advisory build | 3.0.2-1.2 | OPENSUSE-SU-2024:10883-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsr-305ppc64le | Advisory build | 3.0.2-1.2 | OPENSUSE-SU-2024:10883-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsr-305s390x | Advisory build | 3.0.2-1.2 | OPENSUSE-SU-2024:10883-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsr-305x86_64 | Advisory build | 3.0.2-1.2 | OPENSUSE-SU-2024:10883-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsr-305-javadocaarch64 | Advisory build | 3.0.2-1.2 | OPENSUSE-SU-2024:10883-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsr-305-javadocppc64le | Advisory build | 3.0.2-1.2 | OPENSUSE-SU-2024:10883-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsr-305-javadocs390x | Advisory build | 3.0.2-1.2 | OPENSUSE-SU-2024:10883-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jsr-305-javadocx86_64 | Advisory build | 3.0.2-1.2 | OPENSUSE-SU-2024:10883-1 |
| Amazon Linux | AL2 | jsoupsrc | Listed in advisory | Not stated | ALAS2-2025-2813 |
| Amazon Linux | AL2023 | jsoupnoarch | Listed in advisory | Not stated | ALAS2023-2025-884 |
| Amazon Linux | AL2023 | jsoupsrc | Listed in advisory | Not stated | ALAS2023-2025-884 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jhy | jsoup | < 1.14.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
- CWE-248 CWE-248: Uncaught Exception
References
14- https://github.com/jhy/jsoup/security/advisories/GHSA-m72m-mhq2-9p6c
- https://jsoup.org/news/release-1.14.1
- https://jsoup.org/news/release-1.14.2
- [maven-issues] 20210901 [jira] [Created] (MNG-7227) Fix CVE-2021-37714 present in apache-maven https://lists.apache.org/thread.html/r215009dbf7467a9f6506d0c0024cb36cad30071010e62c9352cfaaf0%40%3Cissues.maven.apache.org%3E
- [maven-issues] 20210901 [jira] [Commented] (MNG-7227) Fix CVE-2021-37714 present in apache-maven https://lists.apache.org/thread.html/r377b93d79817ce649e9e68b3456e6f499747ef1643fa987b342e082e%40%3Cissues.maven.apache.org%3E
- [maven-issues] 20210901 [jira] [Updated] (MNG-7227) Fix CVE-2021-37714 present in apache-maven https://lists.apache.org/thread.html/r3d71f18adb78e50f626dde689161ca63d3b7491bd9718fcddfaecba7%40%3Cissues.maven.apache.org%3E
- [maven-issues] 20210830 [jira] [Created] (WAGON-612) Update jsoup to >= 1.14.2 for fix security issue https://lists.apache.org/thread.html/r50e9c9466c592ca9d707a5dea549524d19e3287da08d8392f643960e%40%3Cissues.maven.apache.org%3E
- [james-notifications] 20210820 [GitHub] [james-project] chibenwa opened a new pull request #609: [UPGRADE] JSOUP 1.14.1 -> 1.14.2 to address CVE-2021-37714 https://lists.apache.org/thread.html/r685c5235235ad0c26e86d0ee987fb802c9675de6081dbf0516464e0b%40%3Cnotifications.james.apache.org%3E
- [james-notifications] 20210823 [james-project] branch master updated: [UPGRADE] JSOUP 1.14.1 -> 1.14.2 to address CVE-2021-37714 https://lists.apache.org/thread.html/r97404676a5cf591988faedb887d64e278f522adcaa823d89ca69defe%40%3Cnotifications.james.apache.org%3E
- [james-notifications] 20210823 [GitHub] [james-project] chibenwa merged pull request #609: [UPGRADE] JSOUP 1.14.1 -> 1.14.2 to address CVE-2021-37714 https://lists.apache.org/thread.html/rc3354080fc67fb50b45b3c2d12dc4ca2a3c1c78dad3d3ba012c038aa%40%3Cnotifications.james.apache.org%3E
- https://security.netapp.com/advisory/ntap-20220210-0022/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
3GitHub_M · cna
Crafted input may cause the jsoup HTML and XML parser to get stuck, timeout, or throw unchecked exceptions
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f1e8176fc876cdb4f4d9c39921746c6f1506919bb1bdbf9d4a127f47f3409d5c
- Ingested
- 09 Oct 2026, 16:22:05 UTC
- Source record
- Official CVE record