2.9
LOW
CVE-2024-22018
Node.js Experimental Permission Model fs.lstat File Stats Disclosure
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.

INFO

Published Date :

July 10, 2024, 2:15 a.m.

Last Modified :

Nov. 21, 2024, 8:55 a.m.

Remotely Exploitable :

No

Impact Score :

1.4

Exploitability Score :

1.4
Affected Products

The following products are affected by CVE-2024-22018 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Nodejs node.js

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-22018 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-22018 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2024/07/11/6
    Added Reference http://www.openwall.com/lists/oss-security/2024/07/19/3
    Added Reference https://hackerone.com/reports/2145862
    Added Reference https://security.netapp.com/advisory/ntap-20240816-0007/
  • CVE Modified by [email protected]

    Jul. 19, 2024

    Action Type Old Value New Value
    Added Reference HackerOne http://www.openwall.com/lists/oss-security/2024/07/19/3 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 11, 2024

    Action Type Old Value New Value
    Added Reference HackerOne http://www.openwall.com/lists/oss-security/2024/07/11/6 [No types assigned]
  • CVE Received by [email protected]

    Jul. 10, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference HackerOne https://hackerone.com/reports/2145862 [No types assigned]
    Added CVSS V3 HackerOne AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-22018 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-22018 weaknesses.

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability