Miggo Logo

CVE-2021-37714: Uncaught Exception in jsoup

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.6523%
Published
8/23/2021
Updated
1/27/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.jsoup:jsoupmaven< 1.14.21.14.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability manifests in HTML/XML parsing logic where: (1) The adoption agency algorithm (resetInsertionMode) could enter infinite loops with crafted input (CWE-835), (2) Attribute parsing functions lacked bounds checks leading to performance degradation (CWE-400), and (3) Active formatting element handling allowed amplification attacks. These conclusions are supported by explicit references to these components in the 1.14.2 release notes and CWE mappings.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t _W**t kin* o* vuln*r**ility is it? W*o is imp**t**?_ T*os* usin* jsoup to p*rs* untrust** *TML or XML m*y ** vuln*r**l* to *OS *tt**ks. I* t** p*rs*r is run on us*r suppli** input, *n *tt**k*r m*y supply *ont*nt t**t **us*s t** p*rs*r to *

Reasoning

T** vuln*r**ility m*ni**sts in *TML/XML p*rsin* lo*i* w**r*: (*) T** **option ***n*y *l*orit*m (`r*s*tIns*rtionMo**`) *oul* *nt*r in*init* loops wit* *r**t** input (*W*-***), (*) *ttri*ut* p*rsin* *un*tions l**k** *oun*s ****ks l***in* to p*r*orm*n**