CVE-2021-44906
Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-minimist | Fix pending | UBUNTU-CVE-2021-44906 | |
| Ubuntu 26.04 | node-minimist | Under investigation | UBUNTU-CVE-2021-44906 | |
| Ubuntu 25.10 | node-minimist | Will not fix see v1.2.6 commits for test | UBUNTU-CVE-2021-44906 | |
| Ubuntu 24.04 | node-minimist | Under investigation | UBUNTU-CVE-2021-44906 | |
| Ubuntu 22.04 | node-minimist | Under investigation | UBUNTU-CVE-2021-44906 | |
| Ubuntu 20.04 | node-minimist | Will not fix see v1.2.6 commits for test | UBUNTU-CVE-2021-44906 | |
| Ubuntu 18.04 | node-minimist | Will not fix see v1.2.6 commits for test | UBUNTU-CVE-2021-44906 | |
| Ubuntu 16.04 | node-minimist | Will not fix see v1.2.6 commits for test | UBUNTU-CVE-2021-44906 | |
| Debian 14 | node-minimist | Fixed | 1.2.6+~cs5.3.2-1 | DEBIAN-CVE-2021-44906 |
| Debian 13 | node-minimist | Fixed | 1.2.6+~cs5.3.2-1 | DEBIAN-CVE-2021-44906 |
| Debian 12 | node-minimist | Fixed | 1.2.6+~cs5.3.2-1 | DEBIAN-CVE-2021-44906 |
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:16.18.1-3.el9_1 | RHSA-2023:0321 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:16.18.1-3.el9_1 | RHSA-2023:0321 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:16.18.1-3.el9_1 | RHSA-2023:0321 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed | 1:16.18.1-3.el9_1 | RHSA-2023:0321 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:2.0.20-2.el9_1 | RHSA-2023:0321 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:8.19.2-1.16.18.1.3.el9_1 | RHSA-2023:0321 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed Out of support scope | 1:14.21.1-2.module+el8.7.0+17528+a329cd47 | RHSA-2022:9073 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed Out of support scope | 1:14.21.1-2.module+el8.7.0+17528+a329cd47 | RHSA-2022:9073 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed Out of support scope | 1:16.18.1-3.module+el8.7.0+17465+1a1abd74 | RHSA-2023:0050 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed Out of support scope | 1:14.21.1-2.module+el8.7.0+17528+a329cd47 | RHSA-2022:9073 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed Out of support scope | 0:2.0.20-2.module+el8.7.0+17412+bb0e4a6b | RHSA-2023:0050 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed Out of support scope | 0:23-3.module+el8.3.0+6519+9f98ed83 | RHSA-2022:9073 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | npm | Fixed Out of support scope | 1:8.19.2-1.16.18.1.3.module+el8.7.0+17465+1a1abd74 | RHSA-2023:0050 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Will not fix Out of support scope | ||
| AlmaLinux 9 | nodejs | Fixed | 1:16.18.1-3.el9_1 | ALSA-2023:0321 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:16.18.1-3.el9_1 | ALSA-2023:0321 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:16.18.1-3.el9_1 | ALSA-2023:0321 |
| AlmaLinux 9 | nodejs-libs | Fixed | 1:16.18.1-3.el9_1 | ALSA-2023:0321 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 2.0.20-2.el9_1 | ALSA-2023:0321 |
| AlmaLinux 9 | npm | Fixed | 1:8.19.2-1.16.18.1.3.el9_1 | ALSA-2023:0321 |
| AlmaLinux 8 | nodejs | Fixed | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | ALSA-2022:9073 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:16.18.1-3.module_el8.7.0+3371+ed8c43db | ALSA-2023:0050 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | ALSA-2022:9073 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | ALSA-2022:9073 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 2.0.20-2.module_el8.7.0+3373+a4c18c43 | ALSA-2022:9073 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2022:9073 |
| AlmaLinux 8 | npm | Fixed | 1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43 | ALSA-2022:9073 |
| Rocky Linux 9 | nodejs | Fixed | 1:16.18.1-3.el9_1 | RLSA-2023:0321 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:2.0.20-2.el9_1 | RLSA-2023:0321 |
| Rocky Linux 8 | nodejs | Fixed | 1:16.18.1-3.module+el8.7.0+1108+49363b0d | RLSA-2023:0050 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:2.0.20-2.module+el8.7.0+1108+49363b0d | RLSA-2022:9073 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:25-1.module+el8.6.0+1046+80feca58 | RLSA-2022:9073 |
| npm library | minimist | Fixed | 1.2.6 | GHSA-xvch-5gv4-984h |
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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.