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 :
July 19, 2024, 2:15 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
1.4
Exploitability Score :
1.4
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-22018
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2024/07/11/6 | |
http://www.openwall.com/lists/oss-security/2024/07/19/3 | |
https://hackerone.com/reports/2145862 |
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 [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
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.