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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.24%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.24% probability · 68th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- nodejs/node.js
- Source
- support@hackerone.com
References
- http://www.openwall.com/lists/oss-security/2024/03/11/1Mailing List, Third Party Advisory
- https://hackerone.com/reports/2259914Issue Tracking, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240315-0005/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/03/11/1Mailing List, Third Party Advisory
- https://hackerone.com/reports/2259914Issue Tracking, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240315-0005/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.