GitHub Advisoryadvisory · npm
GHSA-xvch-5gv4-984h Prototype Pollution in minimist
CRITICAL
Official page ↗
- Aliases
- CVE-2021-44906
- Ecosystem
- npm
- Packages
- minimist
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-1321
- Reviewed
- 2022-03-18
Affected packages
• npm minimist: >= 1.0.0, < 1.2.6 → fixed in 1.2.6
• npm minimist: < 0.2.4 → fixed in 0.2.4
Description
Minimist prior to 1.2.6 and 0.2.4 is vulnerable to Prototype Pollution via file `index.js`, function `setKey()` (lines 69-95).
Related
Alias · CVE (1)
- CVE-2021-44906 Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95). vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-44906 advisory
- https://github.com/minimistjs/minimist/issues/11 web
- https://github.com/substack/minimist/issues/164 web
- https://github.com/minimistjs/minimist/pull/24 web
- https://github.com/minimistjs/minimist/commit/34e20b8461118608703d6485326abbb8e35e1703 web
- https://github.com/minimistjs/minimist/commit/bc8ecee43875261f4f17eb20b1243d3ed15e70eb web
- https://github.com/minimistjs/minimist/commit/c2b981977fa834b223b408cfb860f933c9811e4d web
- https://github.com/minimistjs/minimist/commit/ef9153fc52b6cea0744b2239921c5dcae4697f11 web
- https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/minimist%20PoC.zip web
- https://github.com/minimistjs/minimist/commits/v0.2.4 web
- https://github.com/substack/minimist package
- https://github.com/substack/minimist/blob/master/index.js#L69 web
- https://security.netapp.com/advisory/ntap-20240621-0006 web
- https://snyk.io/vuln/SNYK-JS-MINIMIST-559764 web
- https://stackoverflow.com/questions/8588563/adding-custom-properties-to-a-function/20278068#20278068 web