- 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.
- Source
- cve@mitre.org
- NVD status
- Modified
CVSS 3.0
- Type
- Primary
- Base score
- 7.5
- Impact score
- 5.9
- Exploitability score
- 1.6
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 5.1
- Impact score
- 6.4
- Exploitability score
- 4.9
- Vector string
- AV:N/AC:H/Au:N/C:P/I:P/A:P
- nvd@nist.gov
- CWE-611
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:diffplug:gradle:*:*:*:*:*:spotless:*:*",
"vulnerable": true,
"matchCriteriaId": "399D30A2-C49C-4F7A-A0F7-BD7B94E6D05C",
"versionEndExcluding": "3.20.0"
},
{
"criteria": "cpe:2.3:a:diffplug:maven:*:*:*:*:*:spotless:*:*",
"vulnerable": true,
"matchCriteriaId": "276177BC-5902-4017-AD5B-02F623DB7BFE",
"versionEndExcluding": "1.20.0"
}
],
"operator": "OR"
}
]
}
]