CVE-2024-21890
NodeJS Node
MEDIUM 5.0
At a glance
- Source
- NVD
- EPSS
- EPSS 0.95 % · percentile 61 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- hackerone
- NVD status
- Analyzed
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.
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | MEDIUM 5.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | hackerone |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 3.0 | MEDIUM 5.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · support@hackerone.com (Secondary) |
European references
- ENISA EUVD · EUVD-2024-19501
- GCVE · GCVE-0-2024-21890
CERT-FR advisories
- CERTFR-2025-AVI-0967 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2024-AVI-1051 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0923 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0692 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*≥ 20.0.0 < 20.11.1cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*≥ 21.0.0 < 21.6.2
Affected products
| Product | Versions |
|---|---|
| NodeJS · Node | affected 4.0 < 4.* ; affected 5.0 < 5.* ; affected 6.0 < 6.* ; affected 7.0 < 7.* ; affected 8.0 < 8.* ; affected 9.0 < 9.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |