Vulnerability in Node.js Node
CVE-2024-21890
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.009, 61.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Node.js Node — versions 4.0, 5.0, 6.0
- Node.js
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (amphib24/nessus_scan_cysa-_book, fkie-cad/nvd-json-data-feeds, Ki1shan/-Basic-Vulnerability-Scan, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/2257156 (Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20240315-0002/ (Third Party Advisory)
- www.openwall.com/lists/oss-security/2024/03/11/1 (Mailing List, Third Party Advisory)