Vulnerability record · CVE-2024-21891 · published 20 February 2024
CVE-2024-21891: Nodejs node.js path traversal vulnerability
Nodejs · Node.Js
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2024/03/11/1 | Mailing ListThird Party Advisory |
| https://hackerone.com/reports/2259914 | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20240315-0005/ | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/03/11/1 | Mailing ListThird Party Advisory |
| https://hackerone.com/reports/2259914 | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20240315-0005/ | Third Party Advisory |
Track CVE-2024-21891 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-21891), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.