CVE-2020-7608 json
yargs-parser Vulnerable to Prototype Pollution
published 2020-03-16 6 y ago modified 2026-07-08 4 mo ago also GHSA-p9pc-299p-vxgp , EUVD-2020-1208
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "__proto__" payload.
Patch / fix
- npm yargs-parser 5.0.1, 13.1.2, 15.0.1, 18.1.1
- yargs yargs-parser 5.0.1, 13.1.2, 15.0.1, 18.1.1
- node-yargs-parser Debian 14, Debian 13, Debian 12 18.1.1-1
debian advisories DEBIAN-CVE-2020-7608
- rh-nodejs12-nodejs RHEL 3 SOFTWARE_COLLECTIONS 12.19.1-2.el7
- rh-nodejs12-npm RHEL 3 SOFTWARE_COLLECTIONS 6.14.8-12.19.1.2.el7
- npm RHEL 8 1:6.14.10-1.10.23.1.1.module+el8.3.0+9502+012d8a97
- nodejs RHEL 8 1:10.23.1-1.module+el8.3.0+9502+012d8a97
- nodejs-nodemon RHEL 8 1.18.3-1.module+el8+2632+6c5111ed
- nodejs-full-i18n RHEL 8 1:10.23.1-1.module+el8.3.0+9502+012d8a97
- nodejs-packaging RHEL 8 17-3.module+el8+2873+aa7dfd9a
- rh-nodejs10-nodejs RHEL 3 SOFTWARE_COLLECTIONS 10.23.1-2.el7
red hat advisories RHSA-2020:5305RHSA-2021:0548RHSA-2021:0521RHSA-2020:5499
- nodejs-nodemon AlmaLinux 8 1.18.3-1.module_el8.3.0+2023+d2377ea3
- nodejs-nodemon AlmaLinux 8 1.18.3-1.module_el8.3.0+2047+b07ac28e
- nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2224+b07ac28e
- nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2521+c668cc9f
- nodejs-packaging AlmaLinux 8 17-3.module_el8.3.0+2023+d2377ea3
almalinux advisories ALSA-2021:0548ALSA-2020:5499
- nodejs-nodemon Rocky Linux 8 1.18.3-1.module+el8.3.0+101+f84c7154
- nodejs-packaging Rocky Linux 8 17-3.module+el8.3.0+101+f84c7154
rocky linux advisories RLSA-2021:0548RLSA-2020:5499
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-7608 updated cvss 5.3
nodejs-yargs-parser: prototype pollution vulnerability
-
Red Hat Quay v3 quay/quay-rhel8 v3.6.0-62fixed: vendor fix RHSA-2021:3917
-
Red Hat Enterprise Linux AppStream (v. 8) nodejs 10.23.1-1.module+el8.3.0+9502+012d8a97, nodejs 12.19.1-1.module+el8.3.0+8851+b7b41ca0, nodejs-packaging 17-3.module+el8+2873+aa7dfd9a, nodejs-nodemon 1.18.3-1.module+el8+2632+6c5111ed, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, npm 6.14.8-1.12.19.1.1.module+el8.3.0+8851+b7b41ca0, +4 morefixed: vendor fix RHSA-2021:0548
-
Red Hat OpenShift Container Storage 4.7 on RHEL-8 ocs4/mcg-core-rhel8 5.7.0-60.2c1fdb0.5.7fixed: vendor fix RHSA-2021:2041
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.19.1-2.el7, rh-nodejs12-npm 6.14.8-12.19.1.2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.19.1-2.el7, rh-nodejs12-npm 6.14.8-12.19.1.2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.19.1-2.el7, rh-nodejs12-npm 6.14.8-12.19.1.2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.19.1-2.el7, rh-nodejs12-npm 6.14.8-12.19.1.2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7fixed: vendor fix RHSA-2021:0521
-
Red Hat Quay v3 quay/clair-rhel8 v3.6.0-70, quay/quay-builder-rhel8 v3.6.0-44, quay/quay-operator-rhel8 v3.6.0-43, quay/quay-operator-bundle v3.6.0-48, quay/quay-bridge-operator-rhel8 v3.6.0-40, quay/quay-bridge-operator-bundle v3.6.0-35, +3 more Red Hat OpenShift Container Storage 4.7 on RHEL-8 ocs4/ocs-operator-bundle 4.7.0-11, ocs4/mcg-rhel8-operator 5.7.0-69.85e2026.5.7, ocs4/cephcsi-rhel8 4.7-102.5c44836.release_4.7, ocs4/ocs-rhel8-operator 4.7-174.7f14177.release_4.7, ocs4/ocs-must-gather-rhel8 4.7-174.7f14177.release_4.7, ocs4/rook-ceph-rhel8-operator 4.7-140.49a6fcf.release_4.7not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-YARGSPARSER-560381 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | yargs-parser | >=6.0.0, <13.1.2 >=14.0.0, <15.0.1 >=16.0.0, <18.1.1 <5.0.1 |
13.1.2 15.0.1 18.1.1 5.0.1 |
Affected products
- n/a yargs-parser
Classification
References
-
snyk.io
/vuln/SNYK-JS-YARGSPARSER-560381
web, exploit, patch, third-party-advisory
-
github.com
/yargs/yargs-parser/commit/1c417bd0b42b09c475ee881e36d292af4fa2cc36
web
-
github.com
/yargs/yargs-parser/commit/63810ca1ae1a24b08293a4d971e70e058c7a41e2
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-7608
advisory
-
github.com
/yargs/yargs-parser
package
-
npmjs.com
/advisories/1500
web
Sources
- CVE List CVE-2020-7608
- GitHub Advisory GHSA-p9pc-299p-vxgp
- NVD CVE-2020-7608
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.