CVE-2024-22018
- State
- Published
- Severity
- 2.9 Low
- Published
- Jul 10, 2024
- Updated
- Apr 30, 2025
- Reserved
- Jan 4, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 2.9 Low | CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N | hackerone |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
NodeNodeJS |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.