Red Hat VEX
RHVEX-CVE-2024-22018
nodejs: fs.lstat bypasses permission model
Details
A flaw was found in the Node.js package. This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat API. As a result, malicious actors can retrieve stats from files they do not have explicit read access to.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | nodejs20 | All versions, no fix (fix deferred) |