XXE in Diffplug Gradle
CVE-2019-9843
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.015 · 74.8th percentile
- Published
- 2019-06-28
In DiffPlug Spotless before 1.20.0 (library and Maven plugin) and before 3.20.0 (Gradle plugin), the XML parser would resolve external entities over both HTTP and HTTPS and didn't respect the resolveExternalEntities setting. For example, this allows disclosure of file contents to a MITM attacker if a victim performs a spotlessApply operation on an untrusted XML file.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.015, 74.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md (Third Party Advisory, Release Notes)
- github.com/diffplug/spotless/issues/358 (Third Party Advisory, Issue Tracking)
- github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md (Third Party Advisory, Release Notes)
- github.com/diffplug/spotless/pull/369 (Third Party Advisory, Issue Tracking)
- [iceberg-issues] 20210701 [GitHub] [iceberg] jackye1995 opened a new pull request #2776: Build: bump up DiffPlug Spotless version (mailing-list)