CVE-2024-22018
Last modified
CVE-2024-22018 is a low-severity vulnerability rated 2.9/10 on the CVSS scale. 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 estimates a 0.46% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| NodeJS | 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 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-22018?
How severe is CVE-2024-22018?
How do I fix CVE-2024-22018?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-22012there is a possible out of bounds write due to a missing bou…7.8
- CVE-2024-22013U-Boot environment is read from unauthenticated partition.5.3
- CVE-2024-22014An issue discovered in 360 Total Security Antivirus through …8.8
- CVE-2024-22015Improper input validation for some Intel(R) DLB driver softw…6.5
- CVE-2024-22016In Rapid Software LLC's Rapid SCADA versions prior to Versio…7.8
- CVE-2024-22017setuid() does not affect libuv's internal io_uring operation…7.3
- CVE-2024-22019A vulnerability in Node.js HTTP servers allows an attacker t…7.5
- CVE-2024-2202The Page Builder by SiteOrigin plugin for WordPress is vulne…5.4
- CVE-2024-22020A security flaw in Node.js allows a bypass of network impor…6.5
- CVE-2024-22021Vulnerability CVE-2024-22021 allows a Veeam Recovery Orchest…4.3
- CVE-2024-22022Vulnerability CVE-2024-22022 allows a Veeam Recovery Orchest…8.8
- CVE-2024-22023An XML entity expansion or XEE vulnerability in SAML compone…5.3
Are you affected by CVE-2024-22018?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
