Miggo Logo

CVE-2019-9658: Moderate severity vulnerability that affects com.puppycrawl.tools:checkstyle

5.3

CVSS Score
3.0

Basic Information

EPSS Score
0.87688%
Published
3/14/2019
Updated
1/9/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
com.puppycrawl.tools:checkstylemaven< 8.188.18

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from Checkstyle's XML configuration parser allowing external DTD resolution by default. The CWE-611 indicates improper restriction of XML external entity references. The GitHub issues (#6474, #6478) and release notes for 8.18 confirm that the fix involved disabling external DTD loading. The functions responsible for initializing the XML parser (e.g., ConfigurationLoader methods) would have lacked secure feature configuration (like FEATURE_SECURE_PROCESSING) prior to the patch. These functions are critical points where XML parsing security settings are applied, making them the likely vulnerable components.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

****kstyl* prior to *.** lo**s *xt*rn*l *T*s *y ****ult, w*i** **n pot*nti*lly l*** to **ni*l o* s*rvi** *tt**ks or t** l**kin* o* *on*i**nti*l in*orm*tion.

Reasoning

T** vuln*r**ility st*ms *rom ****kstyl*'s XML *on*i*ur*tion p*rs*r *llowin* *xt*rn*l *T* r*solution *y ****ult. T** *W*-*** in*i**t*s improp*r r*stri*tion o* XML *xt*rn*l *ntity r***r*n**s. T** *it*u* issu*s (#****, #****) *n* r*l**s* not*s *or *.**