1. CVE archive
  2. 2024
  3. CVE-2024-22018

CVE-2024-22018

2.9 Low severity CVSS v3.0 · source NVD CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N 2.9 – Low

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.

Affected products

VendorProductVersionPlatform
nodejs node >= 4.0 < 4.* –
nodejs node >= 5.0 < 5.* –
nodejs node >= 6.0 < 6.* –
nodejs node >= 7.0 < 7.* –
nodejs node >= 8.0 < 8.* –
nodejs node >= 9.0 < 9.* –
nodejs node >= 10.0 < 10.* –
nodejs node >= 11.0 < 11.* –
nodejs node >= 12.0 < 12.* –
nodejs node >= 13.0 < 13.* –
nodejs node >= 14.0 < 14.* –
nodejs node >= 15.0 < 15.* –
nodejs node >= 16.0 < 16.* –
nodejs node >= 17.0 < 17.* –
nodejs node >= 19.0 < 19.* –
nodejs node >= 20.0 < 20.15.1 –
nodejs node >= 21.0 < 21.* –
nodejs node >= 22.0 < 22.4.1 –
All 57 Nodejs Node vulnerabilities