CVE-2024-22018

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.

SeverityLow
CVSS2.9
Exploit probability—
ProductNode
PublishedJul 10, 2024
First seenJul 10, 2024

How to fix

Update
  • NodeJS Node4.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 19.*, 20.15.1, 21.*, 22.4.1 or later

Affected products

ProductAffected versionsFixed in
NodeJS Node4.0 ≤ v < 4.*, 5.0 ≤ v < 5.*, 6.0 ≤ v < 6.*, 7.0 ≤ v < 7.*, 8.0 ≤ v < 8.*, 9.0 ≤ v < 9.*, 10.0 ≤ v < 10.*, 11.0 ≤ v < 11.*, 12.0 ≤ v < 12.*, 13.0 ≤ v < 13.*, 14.0 ≤ v < 14.*, 15.0 ≤ v < 15.*, 16.0 ≤ v < 16.*, 17.0 ≤ v < 17.*, 19.0 ≤ v < 19.*, 20.0 ≤ v < 20.15.1, 21.0 ≤ v < 21.*, 22.0 ≤ v < 22.4.14.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 19.*, 20.15.1, 21.*, 22.4.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-22018 · Node · Dark Radar