CVE-2020-7608 yargs-parser Vulnerable to Prototype Pollution

Medium 5.3 Published Updated
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.

PackageAffectedFixed in
yargs-parser npmAll versions5.0.1
yargs-parser npmAll versions5.0.1
yargs-parser npmFrom 14.0.015.0.1
yargs-parser npmFrom 14.0.015.0.1
yargs-parser npmFrom 16.0.018.1.1
yargs-parser npmFrom 16.0.018.1.1
2 more packages
yargs-parser npmFrom 6.0.013.1.2
yargs-parser npmFrom 6.0.013.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.

Is CVE-2020-7608 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free