CVE-2024-21890
published medium CVSS 3.0 · 5.0nodejs: improper handling of wildcards in --allow-fs-read and --allow-fs-write
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NodeJS | — | Node4.0 to < 4.* · 5.0 to < 5.* · 6.0 to < 6.* · 7.0 to < 7.* · 8.0 to < 8.* · 9.0 to < 9.* · 10.0 to < 10.* · 11.0 to < 11.* · 12.0 to < 12.* · 13.0 to < 13.* · 14.0 to < 14.* · 15.0 to < 15.* · 16.0 to < 16.* · 17.0 to < 17.* · 19.0 to < 19.* · 20.0 to < 20.11.1 · 21.0 to < 21.6.2 · Other versions: unaffected | Affected | Not stated | hackerone |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-544 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | nodejs | Advisory build | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.9.0+3731+490e3ce5 | ALSA-2024:1687 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2024:1687 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2024:1687 |
| AlmaLinux | 8 | npm | Advisory build | 1:10.2.4-1.20.11.1.1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:20.11.1-1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:20.11.1-1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:20.11.1-1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:20.11.1-1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.3.0+47+c33bc288 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.3.0+48+1cf146a1 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.3.0+48+1cf146a1 | ALSA-2024:1688 |
| AlmaLinux | 9 | npm | Advisory build | 1:10.2.4-1.20.11.1.1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 20b | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 20b | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 9 | nodejsaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejsx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-develaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-develx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-docsaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-docsx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-nodemonaarch64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-nodemonx86_64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-packagingaarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-packagingx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-packaging-bundleraarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-packaging-bundlerx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | npmaarch64 · nodejs · 20b | Advisory build | 1:10.2.4-1.20.11.1.1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | npmx86_64 · nodejs · 20b | Advisory build | 1:10.2.4-1.20.11.1.1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfox86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceaarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsources390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourcex86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develaarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-devels390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develx86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-docsnoarch | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-full-i18naarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-full-i18nppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-full-i18ns390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-full-i18nx86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-nodemonnoarch | Advisory build | 3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-nodemonsrc | Advisory build | 3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-packagingnoarch | Advisory build | 2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-packagingsrc | Advisory build | 2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-packaging-bundlernoarch | Advisory build | 2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | npmaarch64 | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | npmppc64le | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | npms390x | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | npmx86_64 | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-9 | nodejsaarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejsppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejss390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejssrc | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejsx86_64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfoaarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfoppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfos390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfox86_64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourceaarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourceppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsources390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourcex86_64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-develaarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-develppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-devels390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-develx86_64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-docsnoarch | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18naarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18nppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18ns390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example: ``` --allow-fs-read=/home/node/.ssh/*.pub ``` will ignore `pub` and give access to everything after `.ssh/`. This misleading documentation affects all users using the experimental permission model in Node.js 20 and Node.js 21. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- hackerone · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NodeJS | Node | 4.0 to < 4.* (affected · semver)5.0 to < 5.* (affected · semver)6.0 to < 6.* (affected · semver)7.0 to < 7.* (affected · semver)8.0 to < 8.* (affected · semver)9.0 to < 9.* (affected · semver)10.0 to < 10.* (affected · semver)11.0 to < 11.* (affected · semver)12.0 to < 12.* (affected · semver)13.0 to < 13.* (affected · semver)14.0 to < 14.* (affected · semver)15.0 to < 15.* (affected · semver)16.0 to < 16.* (affected · semver)17.0 to < 17.* (affected · semver)19.0 to < 19.* (affected · semver)20.0 to < 20.11.1 (affected · semver)21.0 to < 21.6.2 (affected · semver)Default: unaffected | hackerone · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
3Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7288c89bde2823c65ff5f256f887ec4ba4b6de884826ed359ace663c619e1286
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record