PT-2024-5124 · Node.Js+5 · Node.Js+5
Haxatron1
·
Published
2024-04-19
·
Updated
2026-05-18
·
CVE-2024-22018
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/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:
A flaw in the experimental permission model of Node.js allows malicious actors to retrieve stats from files they do not have explicit read access to when the --allow-fs-read flag is used. This issue arises from an inadequate permission model that fails to restrict file stats through the
fs.lstat API.Recommendations:
For Node.js versions 20 and 21, consider disabling the experimental permission model until a patch is available.
Restrict access to the
fs.lstat API to minimize the risk of exploitation.
Avoid using the --allow-fs-read flag in the affected API endpoints until the issue is resolved.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Incorrect Privilege Assignment
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Almalinux
Centos
Node.Js
Red Hat
Rocky Linux
Suse