CVE-2021-44906
Aliases:GHSA-xvch-5gv4-984h
Advisory lineage Upstream: 0 Downstream: 26
Modified
Published: 17 Mar 2022, 13:05
Last modified:04 Aug 2024, 04:32
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
0.79% LOW
1% probability -0.09%
KEV
Not listed
Ransomware
No reports
Public exploits
3 found
Dark Web
Not detected
Timeline
17 Mar 2022, 13:05
Published
Vulnerability first disclosed
04 Aug 2024, 04:32
Last Modified
Vulnerability information updated
Description
Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.79%• Percentile: 74%
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•minimist
≥ 1.0.0, < 1.2.6 | < 0.2.4
- substack•minimist
< 1.2.6
References (16)
- https://snyk.io/vuln/SNYK-JS-MINIMIST-559764
- https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/minimist%20PoC.zip
- https://github.com/substack/minimist/blob/master/index.js#L69
- https://stackoverflow.com/questions/8588563/adding-custom-properties-to-a-function/20278068#20278068
- https://github.com/substack/minimist/issues/164
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://nvd.nist.gov/vuln/detail/CVE-2021-44906
- https://github.com/minimistjs/minimist/issues/11
- https://github.com/minimistjs/minimist/pull/24
- https://github.com/minimistjs/minimist/commit/34e20b8461118608703d6485326abbb8e35e1703
- https://github.com/minimistjs/minimist/commit/bc8ecee43875261f4f17eb20b1243d3ed15e70eb
- https://github.com/minimistjs/minimist/commit/c2b981977fa834b223b408cfb860f933c9811e4d
- https://github.com/minimistjs/minimist/commit/ef9153fc52b6cea0744b2239921c5dcae4697f11
- https://github.com/minimistjs/minimist/commits/v0.2.4
- https://github.com/substack/minimist
- https://security.netapp.com/advisory/ntap-20240621-0006