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.
References
Link | Resource |
---|---|
https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenter | Release Notes Third Party Advisory |
https://github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenter | Release Notes Third Party Advisory |
https://github.com/diffplug/spotless/issues/358 | Issue Tracking Third Party Advisory |
https://github.com/diffplug/spotless/pull/369 | Issue Tracking Third Party Advisory |
https://lists.apache.org/thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b027b7608fdfd%40%3Cissues.iceberg.apache.org%3E |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2019-03-15T23:00:00
Updated: 2021-07-02T03:06:10
Reserved: 2019-03-15T00:00:00
Link: CVE-2019-9843
JSON object: View
NVD Information
Status : Modified
Published: 2019-06-28T18:15:15.330
Modified: 2023-11-07T03:13:46.877
Link: CVE-2019-9843
JSON object: View
Redhat Information
No data.
CWE