CVE-2020-7608 yargs-parser Vulnerable to Prototype Pollution
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2020-7608?
CVE-2020-7608 is a medium-severity vulnerability in yargs-parser, published on 16 Mar 2020.
Official description
yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "__proto__" payload.
Weakness: CWE-1321
Which versions are affected by CVE-2020-7608?
8 open source packages ship an affected version, including yargs-parser. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
yargs-parser npm | All versions | 5.0.1 |
yargs-parser npm | All versions | 5.0.1 |
yargs-parser npm | From 14.0.0 | 15.0.1 |
yargs-parser npm | From 14.0.0 | 15.0.1 |
yargs-parser npm | From 16.0.0 | 18.1.1 |
yargs-parser npm | From 16.0.0 | 18.1.1 |
2 more packages
yargs-parser npm | From 6.0.0 | 13.1.2 |
yargs-parser npm | From 6.0.0 | 13.1.2 |
Products include Yargs Yargs-Parser.
How do I fix CVE-2020-7608?
Upgrade yargs-parser to a fixed version for your release line: 5.0.1, 15.0.1, 18.1.1 or 13.1.2.
Is CVE-2020-7608 being exploited?
There is no known exploitation of CVE-2020-7608 in the wild and no public exploit code.
Sources
Also known as CLSA-2026-1774225193, CLSA-2026-1774225196, CLSA-2026-1774225198, CLSA-2026-1774225199, CLSA-2026-1777336759, DEBIAN-CVE-2020-7608 and 4 more.