CVE-2020-7608
Aliases:GHSA-p9pc-299p-vxgp
Advisory lineage Upstream: 0 Downstream: 7
Modified
Published: 16 Mar 2020, 19:49
Last modified:04 Aug 2024, 09:33
Vulnerability Summary
Overall Risk (default)
medium
31/100 CVSS Score
5.3 MEDIUM
v3.1 (nvd)
EPSS Score
0.13% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
16 Mar 2020, 19:49
Published
Vulnerability first disclosed
04 Aug 2024, 09:33
Last Modified
Vulnerability information updated
Description
yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "__proto__" payload.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.13%• Percentile: 31%
Techniques & Countermeasures
- CWE-1321•Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Affected Systems
- Npm•yargs-parser
≥ 6.0.0, < 13.1.2 | ≥ 14.0.0, < 15.0.1 | ≥ 16.0.0, < 18.1.1 | < 5.0.1
- yargs•yargs-parser
< 5.0.1 | ≥ 6.0.0, < 13.1.2 | ≥ 14.0.0, < 15.0.1 | ≥ 16.0.0, < 18.1.1
References (6)
- https://snyk.io/vuln/SNYK-JS-YARGSPARSER-560381
- https://nvd.nist.gov/vuln/detail/CVE-2020-7608
- https://github.com/yargs/yargs-parser/commit/1c417bd0b42b09c475ee881e36d292af4fa2cc36
- https://github.com/yargs/yargs-parser/commit/63810ca1ae1a24b08293a4d971e70e058c7a41e2
- https://github.com/yargs/yargs-parser
- https://www.npmjs.com/advisories/1500