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)
EPSS: 0.015 (71.6th percentile) — read the EPSS interpretation.
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.
Affected products
- Diffplug Gradle
- Diffplug Maven
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve@mitre.org (mailing-list, x_refsource_MLIST)
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.