CVE-2024-21891 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 20, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://hackerone.com/reports/2259914 | CVE | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20240315-0005/ | CVE | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/03/11/1 | CVE | Mailing ListThird Party Advisory |
| https://hackerone.com/reports/2259914 | [email protected] | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20240315-0005/ | [email protected] | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/03/11/1 | [email protected] | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| nodejs node.js | >= 20.0.0, < 20.11.1 >= 21.0.0, < 21.6.2 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 28, 2025 | CVE Modified | CISA-ADP |
| Feb 12, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 1, 2024 | CVE Modified | [email protected] |
| Mar 15, 2024 | CVE Modified | [email protected] |
| Feb 20, 2024 | New CVE Received | [email protected] |