CVE-2020-7608
nodejs-yargs-parser: prototype pollution vulnerability
Overview
Description
yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "__proto__" payload.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness: CWE-1321
Affected packages · 1
| Ecosystem | Package | Vulnerable | 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.215.0.118.1.15.0.1 |
Open a package to see all its vulnerabilities.
Operating systems · 28 fixes
Oracle Linux 1 release · 4 packages
fixed 4
nodejs-nodemon
nodejs-packaging
nodejs
npm
| Release | Package | Fixed in |
|---|---|---|
| 8 | nodejs-nodemon | 1.18.3-1.module+el8.1.0+5392+4d6b561f |
| 8 | nodejs-packaging | 17-3.module+el8.1.0+5392+4d6b561f |
| 8 | nodejs +3 | 1:10.23.1-1.module+el8.3.0+9642+87902f83 |
| 8 | npm | 1:6.14.10-1.10.23.1.1.module+el8.3.0+9642+87902f83 |
Red Hat 3 releases · 8 packages
fixed 12
rh-nodejs10-nodejs
rh-nodejs12-nodejs
rh-nodejs10-npm
rh-nodejs12-npm
nodejs-nodemon
nodejs-packaging
+2
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-nodejs10-nodejs +2 | 0:10.23.1-2.el7 | RHSA-2021:0521 |
| 7 | rh-nodejs12-nodejs +2 | 0:12.19.1-2.el7 | RHSA-2020:5305 |
| 7 | rh-nodejs10-npm | 0:6.14.10-10.23.1.2.el7 | RHSA-2021:0521 |
| 7 | rh-nodejs12-npm | 0:6.14.8-12.19.1.2.el7 | RHSA-2020:5305 |
| 8 (nodejs:10) | nodejs-nodemon | 0:1.18.3-1.module+el8+2632+6c5111ed | RHSA-2021:0548 |
| 8 (nodejs:10) | nodejs-packaging | 0:17-3.module+el8+2873+aa7dfd9a | RHSA-2021:0548 |
6 more rows
alma 1 release · 2 packages
fixed 2
nodejs-nodemon
nodejs-packaging
| Release | Package | Fixed in |
|---|---|---|
| 8 (nodejs:10) | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 |
| 8 (nodejs:10) | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 |
debian 6 releases · 1 package
fixed 5
affected 1
node-yargs-parser
| Release | Package | Fixed in |
|---|---|---|
| 10 | node-yargs-parser | 11.1.1-1+deb10u1 |
| 11 | node-yargs-parser | 18.1.1-1 |
| 12 | node-yargs-parser | 18.1.1-1 |
| 13 | node-yargs-parser | 18.1.1-1 |
| 14 | node-yargs-parser | 18.1.1-1 |
| 9 | node-yargs-parser | affected |
echo 1 release · 1 package
fixed 1
node-yargs-parser
| Release | Package | Fixed in |
|---|---|---|
| node-yargs-parser | 18.1.1-1 |
rocky 1 release · 2 packages
fixed 2
nodejs-nodemon
nodejs-packaging
| Release | Package | Fixed in |
|---|---|---|
| 8 (nodejs:10) | nodejs-nodemon | 1.18.3-1.module+el8.3.0+101+f84c7154 |
| 8 (nodejs:10) | nodejs-packaging | 17-3.module+el8.3.0+101+f84c7154 |
ubuntu 1 release · 1 package
affected 1
node-yargs-parser
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | node-yargs-parser | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-7608
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1840004
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1856875
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1857977
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1868196
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1879315
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1892430
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1898680
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1907444
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1912854
Show all 33 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1912863
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15095
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15366
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7608
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7754
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7774
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7788
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8116
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8252
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8265
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8287
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2021-0548.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2021:0548
- gist.github.com https://gist.github.com/Kirill89/dcd8100d010896157a36624119439832
- github.com https://github.com/yargs/yargs-parser
- github.com https://github.com/yargs/yargs-parser/commit/1c417bd0b42b09c475ee881e36d292af4fa2cc36
- github.com https://github.com/yargs/yargs-parser/commit/63810ca1ae1a24b08293a4d971e70e058c7a41e2
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-7608.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-0548.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-7608
- snyk.io https://snyk.io/vuln/SNYK-JS-YARGSPARSER-560381
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-7608
- www.npmjs.com https://www.npmjs.com/advisories/1500
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.