CVE-2019-9658: Moderate severity vulnerability that affects com.puppycrawl.tools:checkstyle
5.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.87688%
CWE
Published
3/14/2019
Updated
1/9/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.puppycrawl.tools:checkstyle | maven | < 8.18 | 8.18 |
Vulnerability Intelligence
Miggo AI
Root 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.