CVE-2020-7608
MEDIUM 5.3CVSS 3.1yargs-parser Vulnerable to Prototype Pollution
yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "proto" payload.
- Published
- 16 Mar 2020
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321CWE-915
- Also known as
- GHSA-p9pc-299p-vxgpSNYK-JS-YARGSPARSER-560381
- Sources
- NVDJSONOSV GHSA-p9pc-299p-vxgpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yargs | yargs-parsercpe:2.3:a:yargs:yargs-parser:*:*:*:*:*:node.js:*:* |
< 5.0.1 | 5.0.1 |
| NVD | yargs | yargs-parsercpe:2.3:a:yargs:yargs-parser:*:*:*:*:*:node.js:*:* |
>= 6.0.0, < 13.1.2 | 13.1.2 |
| NVD | yargs | yargs-parsercpe:2.3:a:yargs:yargs-parser:*:*:*:*:*:node.js:*:* |
>= 14.0.0, < 15.0.1 | 15.0.1 |
| NVD | yargs | yargs-parsercpe:2.3:a:yargs:yargs-parser:*:*:*:*:*:node.js:*:* |
>= 16.0.0, < 18.1.1 | 18.1.1 |
| OSV | npm | yargs-parser | >= 6.0.0, < 13.1.2 | 13.1.2 |
| OSV | npm | yargs-parser | >= 14.0.0, < 15.0.1 | 15.0.1 |
| OSV | npm | yargs-parser | >= 16.0.0, < 18.1.1 | 18.1.1 |
| OSV | npm | yargs-parser | < 5.0.1 | 5.0.1 |
References
- https://snyk.io/vuln/SNYK-JS-YARGSPARSER-560381 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7608 · ADVISORY
- https://github.com/yargs/yargs-parser/commit/1c417bd0b42b09c475ee881e36d292af4fa2cc36 · WEB
- https://github.com/yargs/yargs-parser/commit/63810ca1ae1a24b08293a4d971e70e058c7a41e2 · WEB
- https://github.com/yargs/yargs-parser · PACKAGE
- https://www.npmjs.com/advisories/1500 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 16 Mar 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Sep 2020)