Node.js Experimental Permissions Lstat Exposure CVE-2024-22018
CVE-2024-22018 Published on July 10, 2024

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.

NVD


Products Associated with CVE-2024-22018

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-22018 are published in these products:

 
 

Affected Versions

NodeJS Node:

Exploit Probability

EPSS
0.21%
Percentile
43.51%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.