High severityOSV Advisory· Published Mar 15, 2019· Updated Aug 4, 2024
CVE-2019-9843
CVE-2019-9843
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.diffplug.spotless:spotless-plugin-gradleMaven | < 3.20.0 | 3.20.0 |
com.diffplug.spotless:spotless-maven-pluginMaven | < 1.20.0 | 1.20.0 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- github.com/advisories/GHSA-7v35-qwwj-p98gghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2019-9843ghsaADVISORY
- github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.mdghsax_refsource_MISCWEB
- github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.mdghsax_refsource_MISCWEB
- github.com/diffplug/spotless/issues/358ghsax_refsource_MISCWEB
- github.com/diffplug/spotless/pull/369ghsax_refsource_MISCWEB
- lists.apache.org/thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b027b7608fdfd%40%3Cissues.iceberg.apache.org%3Emitremailing-listx_refsource_MLIST
News mentions
0No linked articles in our index yet.