CVE-2019-9843
Last modified
CVE-2019-9843 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 1.50% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Diffplug | Gradle | < 3.20.0 |
| Diffplug | Maven | < 1.20.0 |
References
- https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenterRelease Notes, Third Party Advisory
- https://github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenterRelease Notes, Third Party Advisory
- https://github.com/diffplug/spotless/issues/358Issue Tracking, Third Party Advisory
- https://github.com/diffplug/spotless/pull/369Issue Tracking, Third Party Advisory
- https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenterRelease Notes, Third Party Advisory
- https://github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenterRelease Notes, Third Party Advisory
- https://github.com/diffplug/spotless/issues/358Issue Tracking, Third Party Advisory
- https://github.com/diffplug/spotless/pull/369Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-9843?
How severe is CVE-2019-9843?
How do I fix CVE-2019-9843?
Are you affected by CVE-2019-9843?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
