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

21 Nov 2024, 04:52

Type Values Removed Values Added
References () https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenter - Release Notes, Third Party Advisory () https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenter - Release Notes, Third Party Advisory
References () https://github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenter - Release Notes, Third Party Advisory () https://github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenter - Release Notes, Third Party Advisory
References () https://github.com/diffplug/spotless/issues/358 - Issue Tracking, Third Party Advisory () https://github.com/diffplug/spotless/issues/358 - Issue Tracking, Third Party Advisory
References () https://github.com/diffplug/spotless/pull/369 - Issue Tracking, Third Party Advisory () https://github.com/diffplug/spotless/pull/369 - Issue Tracking, Third Party Advisory
References () https://lists.apache.org/thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b027b7608fdfd%40%3Cissues.iceberg.apache.org%3E - () https://lists.apache.org/thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b027b7608fdfd%40%3Cissues.iceberg.apache.org%3E -

07 Nov 2023, 03:13

Type Values Removed Values Added
References
  • {'url': 'https://lists.apache.org/thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b027b7608fdfd@%3Cissues.iceberg.apache.org%3E', 'name': '[iceberg-issues] 20210701 [GitHub] [iceberg] jackye1995 opened a new pull request #2776: Build: bump up DiffPlug Spotless version', 'tags': [], 'refsource': 'MLIST'}
  • () https://lists.apache.org/thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b027b7608fdfd%40%3Cissues.iceberg.apache.org%3E -

Information

Published : 2019-06-28 18:15

Updated : 2024-11-21 04:52


NVD link : CVE-2019-9843

Mitre link : CVE-2019-9843

CVE.ORG link : CVE-2019-9843


JSON object : View

Products Affected

diffplug

  • maven
  • gradle
CWE
CWE-611

Improper Restriction of XML External Entity Reference