CVE-2019-9843
Improper Restriction of XML External Entity Reference in DiffPlug Spotless
7.5
HIGH
CVSS 3.1
EPSS 0.33%
描述
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.
如何修補 CVE-2019-9843
要修補 CVE-2019-9843,請將受影響套件升級到下列已修補版本。
- —升級至 1.20.0 或更新版本
- —升級至 3.20.0 或更新版本
CVE-2019-9843 正在被利用嗎?
低 — EPSS 為 0.3%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 1.20.0
- from 0, < 3.20.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
參考連結(6)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2019-9843
- PATCHgithub.com/diffplug/spotless
- WEBgithub.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenter
- WEBgithub.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenter