XXE in Diffplug Gradle
CVE-2019-9843
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.
EPSS exploit prediction
EPSS: 0.015 (73.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 73.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
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)
- lists.apache.org/thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b027b7… (mailing-list)
Frequently asked questions
- What is CVE-2019-9843?
- CVE-2019-9843 is a high-severity vulnerability in Diffplug Gradle, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 7.5/10. Published 2019-06-28.
- How severe is CVE-2019-9843?
- High severity. CVSS v3 base score is 7.5 out of 10.