PT-2024-3905 · Node.Js+6 · Node.Js+6
Xion
·
Published
2024-02-16
·
Updated
2025-03-28
·
CVE-2024-21891
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
Node.js versions 20 through 21
Description:
The issue is related to the experimental permission model in Node.js, where user-defined implementations can overwrite built-in utility functions used to normalize paths provided to node:fs functions. This can lead to a filesystem permission model bypass through a path traversal attack. The vulnerability affects users of the experimental permission model in the specified Node.js versions.
Recommendations:
For Node.js versions 20 through 21, consider disabling the experimental permission model until a patch is available.
Restrict access to node:fs functions to minimize the risk of exploitation.
Avoid using user-defined implementations for path normalization until the issue is resolved.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Centos
Node.Js
Red Hat
Rocky Linux
Suse