نسخههای متأثر
- نسخههای متأثر
- < 1.20.0
- نسخهٔ اصلاحشده
- 1.20.0
- نسخههای متأثر
- < 3.20.0
- نسخهٔ اصلاحشده
- 3.20.0
بهرهبرداری
شرح آسیبپذیری
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.
پیوندها
- https://github.com/advisories/GHSA-7v35-qwwj-p98g
- https://github.com/diffplug/spotless
- https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenter
- https://github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenter
- https://github.com/diffplug/spotless/issues/358
- https://github.com/diffplug/spotless/pull/369
- https://nvd.nist.gov/vuln/detail/CVE-2019-9843

