Vulnerability in Node.js Node
CVE-2024-22018
A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used. 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 that they do not have explicit read access to. 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.
EPSS: 0.005 (37.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 2.9 (Low). Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Nodejs Node — versions 4.0, 5.0, 6.0
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-22018?
- CVE-2024-22018 is a low-severity vulnerability in Node.js Node. CVSS score: 2.9/10. Published 2024-07-10.
- How severe is CVE-2024-22018?
- Low severity. CVSS v3 base score is 2.9 out of 10.
- Is CVE-2024-22018 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.