CVE-2019-9843
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductDiffplug Gradle
PublishedJun 28, 2019
First seenJun 28, 2019
How to fix
Update
- diffplug gradle3.20.0 or later
- diffplug maven1.20.0 or later
- com.diffplug.spotless:spotless-plugin-gradle3.20.0 or later
- com.diffplug.spotless:spotless-maven-plugin1.20.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| diffplug gradle | v < 3.20.0 | 3.20.0 |
| diffplug maven | v < 1.20.0 | 1.20.0 |
| com.diffplug.spotless:spotless-plugin-gradleMaven | v < 3.20.0 | 3.20.0 |
| com.diffplug.spotless:spotless-maven-pluginMaven | v < 1.20.0 | 1.20.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.