CVE-2021-44906
CRITICAL 9.8CVSS 3.1Prototype Pollution in minimist
Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).
- Published
- 17 Mar 2022
- Last modified
- 8 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-xvch-5gv4-984h
- Sources
- NVDJSONOSV GHSA-xvch-5gv4-984hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | substack | minimistcpe:2.3:a:substack:minimist:*:*:*:*:*:node.js:*:* |
< 1.2.6 | 1.2.6 |
| OSV | npm | minimist | >= 1.0.0, < 1.2.6 | 1.2.6 |
| OSV | npm | minimist | < 0.2.4 | 0.2.4 |
References
- https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/minimist%20PoC.zip · Exploit, Third Party Advisory, WEB
- https://github.com/substack/minimist/blob/master/index.js#L69 · Exploit, Third Party Advisory, WEB
- https://github.com/substack/minimist/issues/164 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20240621-0006/ · WEB
- https://snyk.io/vuln/SNYK-JS-MINIMIST-559764 · Exploit, Not Applicable, Patch, Third Party Advisory, WEB
- https://stackoverflow.com/questions/8588563/adding-custom-properties-to-a-function/20278068#20278068 · Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-44906 · ADVISORY
- https://github.com/minimistjs/minimist/issues/11 · 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/minimistjs/minimist/commits/v0.2.4 · WEB
- https://github.com/substack/minimist · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Mar 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Mar 2022)