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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.005 (37.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 37th percentile — 37.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Node.js 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.