🛡️ CVE-2024-22018 — node
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.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.
Affected software
CVE-2024-22018 is recorded against 3 packages.
- node
- node-min
- unknown
Timeline and source
Published on 12 July 2024 and last revised on 11 February 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
www.openwall.com (Web)
hackerone.com (Web)
www.openwall.com (Web)
security.netapp.com (Web)
nvd.nist.gov (Web)
github.com (Web)
github.com (Web)
CVE-2024-22018 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| node | — | — |
| node-min | — | — |
| unknown | — | — |
References
Similar Threats
- High CVE-2020-10531
- High CVE-2020-11080
- High CVE-2020-8172
- High CVE-2020-8174
- High CVE-2020-8251
Free Vulnerability Check
Is your site affected by CVE-2024-22018?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2024-22018 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.