CVE-2019-9843

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:diffplug:gradle:*:*:*:*:*:spotless:*:*
cpe:2.3:a:diffplug:maven:*:*:*:*:*:spotless:*:*

History

No history.

Information

Published : 2019-06-28 18:15

Updated : 2024-02-04 20:20


NVD link : CVE-2019-9843

Mitre link : CVE-2019-9843

CVE.ORG link : CVE-2019-9843


JSON object : View

Products Affected

diffplug

  • gradle
  • maven
CWE
CWE-611

Improper Restriction of XML External Entity Reference