CVE-2020-7608
yargs-parser Vulnerable to Prototype Pollution
5.3
MEDIUM
CVSS 3.1
EPSS 0.13%
描述
Affected versions of `yargs-parser` are vulnerable to prototype pollution. Arguments are not properly sanitized, allowing an attacker to modify the prototype of `Object`, causing the addition or modification of an existing property that will exist on all objects. Parsing the argument `--foo.__proto__.bar baz'` adds a `bar` property with value `baz` to all objects. This is only exploitable if attackers have control over the arguments being passed to `yargs-parser`. ## Recommendation Upgrade to versions 13.1.2, 15.0.1, 18.1.1 or later.
如何修補 CVE-2020-7608
要修補 CVE-2020-7608,請將受影響套件升級到下列已修補版本。
- —升級至 18.1.1-1 或更新版本
- —升級至 13.1.2 或更新版本
CVE-2020-7608 正在被利用嗎?
低 — EPSS 為 0.1%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 18.1.1-1
- >= 6.0.0, < 13.1.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |