Vulnerability

CVE-2019-9843

highCVSS 3.0 7.5Published 28 Jun 2019

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Diffplug gradle, maven

Weakness type

References

  • github.com /diffplug/spotless/blob/master/plugin-gradle/CHANGES.md
  • github.com /diffplug/spotless/blob/master/plugin-maven/CHANGES.md
  • github.com /diffplug/spotless/issues/358
  • github.com /diffplug/spotless/pull/369
  • lists.apache.org /thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b0…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning