Path Traversal in Node.js Node
CVE-2024-21891
Node.js depends on multiple built-in utility functions to normalize paths provided to node:fs functions, which can be overwitten with user-defined implementations leading to filesystem permission model bypass through path traversal attack. This vulnerability 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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.012 (68.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 68.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
- Node.js Node — versions 4.0, 5.0, 6.0
- Node.js
Weakness classification (CWE)
Public proof-of-concept exploits
References
- hackerone.com/reports/2259914 (Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20240315-0005/ (Third Party Advisory)
- www.openwall.com/lists/oss-security/2024/03/11/1 (Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-21891?
- CVE-2024-21891 is a high-severity vulnerability in Node.js Node, classified under Path Traversal. CVSS score: 8.8/10. Published 2024-02-20.
- How severe is CVE-2024-21891?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2024-21891 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.