CVE-2024-22018: nodejs node
Vulnerability summary
CVE-2024-22018 is a low (CVSS 2.9) vulnerability in nodejs node. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 39.7% of scored vulnerabilities.
Not severe (CVSS 2.9, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 10Timeline
- 10-07-2024PublishedVulnerability first disclosed.
- 30-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated2.9LowCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated2.9LowCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated2.9LowCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- NVDNIST2.9LowCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.46% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard4 products
- eco-nodejs-20.9.0All versions (No fix recorded)
- nodejs-20< 20.15.1-r0
- nodejs-21All versions (No fix recorded)
- nodejs-22< 22.4.1-r0
Wolfi3 products
- nodejs-20< 20.15.1-r0
- nodejs-21All versions (No fix recorded)
- nodejs-22< 22.4.1-r0
Alpine1 product
- nodejs< 20.15.1-r0
Debian1 product
- nodejs< 20.15.1+dfsg-1
Nodejs1 product
- node≥ 4.0, < 4.* | ≥ 5.0, < 5.* | ≥ 6.0, < 6.* | ≥ 7.0, < 7.* | ≥ 8.0, < 8.* | ≥ 9.0, < 9.* | ≥ 10.0, < 10.* | ≥ 11.0, < 11.* | ≥ 12.0, < 12.* | ≥ 13.0, < 13.* | ≥ 14.0, < 14.* | ≥ 15.0, < 15.* | ≥ 16.0, < 16.* | ≥ 17.0, < 17.* | ≥ 19.0, < 19.* | ≥ 20.0, < 20.15.1 | ≥ 21.0, < 21.* | ≥ 22.0, < 22.4.1
Ubuntu1 product
- nodejsAll versions (No fix recorded)
6 vendors · 11 products