Bug 1189749 (CVE-2021-37714) - VUL-0: CVE-2021-37714: jsoup: Crafted input may cause the jsoup HTML and XML parser to get stuck
Summary: VUL-0: CVE-2021-37714: jsoup: Crafted input may cause the jsoup HTML and XML ...
Status: RESOLVED FIXED
Alias: CVE-2021-37714
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/307585/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-37714:7.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-24 13:29 UTC by Robert Frohl
Modified: 2024-06-10 12:09 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Frohl 2021-08-24 13:29:32 UTC
rh#1995259

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:

https://jsoup.org/news/release-1.14.1
https://jsoup.org/news/release-1.14.2
https://github.com/jhy/jsoup/security/advisories/GHSA-m72m-mhq2-9p6c

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1995259
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-37714
https://github.com/jhy/jsoup/security/advisories/GHSA-m72m-mhq2-9p6c
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37714
https://jsoup.org/news/release-1.14.2
https://jsoup.org/news/release-1.14.1
Comment 1 Robert Frohl 2021-08-24 13:32:02 UTC
tracking as affected:

- SUSE:SLE-15-SP2:Update/jsoup

also for relevant for openSUSE:Factory
Comment 2 OBSbugzilla Bot 2021-08-27 07:40:06 UTC
This is an autogenerated message for OBS integration:
This bug (1189749) was mentioned in
https://build.opensuse.org/request/show/914520 Factory / jsr-305
https://build.opensuse.org/request/show/914521 Factory / jsoup
Comment 4 Fridrich Strba 2022-04-12 07:49:48 UTC
Submission has been made. This is now in security team's hands
Comment 7 Swamp Workflow Management 2022-04-19 16:25:28 UTC
SUSE-SU-2022:1265-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1189749
CVE References: CVE-2021-37714
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
openSUSE Leap 15.3 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Manager Server 4.1 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Manager Retail Branch Server 4.1 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Manager Proxy 4.1 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Linux Enterprise Server for SAP 15-SP2 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Linux Enterprise Server 15-SP2-LTSS (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Linux Enterprise Server 15-SP2-BCL (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Linux Enterprise Realtime Extension 15-SP2 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Linux Enterprise Module for Development Tools 15-SP4 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1
SUSE Enterprise Storage 7 (src):    jsoup-1.14.2-150200.3.3.1, jsr-305-3.0.2-150200.3.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 10 Gabriele Sonnu 2024-06-10 12:09:51 UTC
All done, closing.