Vulnerability · Published Mar 17, 2022 · Assigned by mitre
CVE-2021-44906
Critical 9.8
In plain English
A critical-severity security flaw in the nodejs package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.6% (higher than 92% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)4.6%top 8.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official description
Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | nodejs | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | ALSA-2023:0050 |
| AlmaLinux:8 | nodejs | 1:16.18.1-3.module_el8.7.0+3371+ed8c43db | ALSA-2022:9073 |
| AlmaLinux:9 | nodejs | 1:16.18.1-3.el9_1 | ALSA-2023:0321 |
| AlmaLinux:8 | nodejs-devel | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | ALSA-2023:0050 |
| AlmaLinux:8 | nodejs-devel | 1:16.18.1-3.module_el8.7.0+3371+ed8c43db | ALSA-2022:9073 |
| AlmaLinux:8 | nodejs-docs | 1:16.18.1-3.module_el8.7.0+3371+ed8c43db | ALSA-2022:9073 |
| AlmaLinux:8 | nodejs-docs | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | ALSA-2023:0050 |
| AlmaLinux:9 | nodejs-docs | 1:16.18.1-3.el9_1 | ALSA-2023:0321 |
| AlmaLinux:8 | nodejs-full-i18n | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | ALSA-2023:0050 |
| AlmaLinux:8 | nodejs-full-i18n | 1:16.18.1-3.module_el8.7.0+3371+ed8c43db | ALSA-2022:9073 |
| AlmaLinux:9 | nodejs-full-i18n | 1:16.18.1-3.el9_1 | ALSA-2023:0321 |
| AlmaLinux:9 | nodejs-libs | 1:16.18.1-3.el9_1 | ALSA-2023:0321 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.20-2.module_el8.7.0+3373+a4c18c43 | ALSA-2023:0050 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.20-2.module_el8.7.0+3371+ed8c43db | ALSA-2022:9073 |
| AlmaLinux:9 | nodejs-nodemon | 2.0.20-2.el9_1 | ALSA-2023:0321 |
| AlmaLinux:8 | nodejs-packaging | 25-1.module_el8.5.0+2605+45d748af | ALSA-2022:9073 |
| AlmaLinux:8 | nodejs-packaging | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2023:0050 |
| AlmaLinux:8 | npm | 1:8.19.2-1.16.18.1.3.module_el8.7.0+3371+ed8c43db | ALSA-2022:9073 |
| AlmaLinux:8 | npm | 1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43 | ALSA-2023:0050 |
| AlmaLinux:9 | npm | 1:8.19.2-1.16.18.1.3.el9_1 | ALSA-2023:0321 |
| Debian:12 | node-minimist | 1.2.6+~cs5.3.2-1 | DEBIAN-CVE-2021-44906 |
| Debian:13 | node-minimist | 1.2.6+~cs5.3.2-1 | DEBIAN-CVE-2021-44906 |
| Debian:14 | node-minimist | 1.2.6+~cs5.3.2-1 | DEBIAN-CVE-2021-44906 |
| Rocky Linux:8 | nodejs | 1:16.18.1-3.module+el8.7.0+1108+49363b0d | RLSA-2022:9073 |
| Rocky Linux:8 | nodejs | 1:14.21.1-2.module+el8.7.0+1116+bd2a84b4 | RLSA-2023:0050 |
| Rocky Linux:9 | nodejs | 1:16.18.1-3.el9_1 | RLSA-2023:0321 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.20-2.module+el8.7.0+1108+49363b0d | RLSA-2023:0050 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.20-2.module+el8.7.0+1108+49363b0d | RLSA-2022:9073 |
| Rocky Linux:9 | nodejs-nodemon | 0:2.0.20-2.el9_1 | RLSA-2023:0321 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.7.0+1071+4bdda2a8 | RLSA-2023:0050 |
| Rocky Linux:8 | nodejs-packaging | 0:25-1.module+el8.5.0+702+221f14e6 | RLSA-2022:9073 |
| Rocky Linux:8 | nodejs-packaging | 0:25-1.module+el8.6.0+1046+80feca58 | RLSA-2022:9073 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.5.0+733+de4fee6c | RLSA-2023:0050 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.3.0+100+234774f7 | RLSA-2023:0050 |
| Ubuntu:22.04:LTS | node-minimist | no fix listed | UBUNTU-CVE-2021-44906 |
| Ubuntu:24.04:LTS | node-minimist | no fix listed | UBUNTU-CVE-2021-44906 |
| Ubuntu:25.10 | node-minimist | no fix listed | UBUNTU-CVE-2021-44906 |
| Ubuntu:26.04:LTS | node-minimist | no fix listed | UBUNTU-CVE-2021-44906 |
| Ubuntu:26.10 | node-minimist | no fix listed | UBUNTU-CVE-2021-44906 |
| npm | minimist | 0.2.4 | GHSA-xvch-5gv4-984h |
| npm | minimist | 1.2.6 | GHSA-xvch-5gv4-984h |
Affected products (as reported)
References
- 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/