CVE-2024-22018

A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used

Low · published July 10, 2024

CVSS v3.0
2.9
EPSS
0%
Percentile
38.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
2.9 · LOW
Vector
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00458 · 38.7th percentile
Published
2024-07-10T01:00Z
EPSS history
Timeline
  • 10 JUL 01:00Z
    A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used
    cvelistv5