Bug 2296990 (CVE-2024-22018) - CVE-2024-22018 nodejs: fs.lstat bypasses permission model
Summary: CVE-2024-22018 nodejs: fs.lstat bypasses permission model
Keywords:
Status: NEW
Alias: CVE-2024-22018
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2297005 2297006
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-10 02:20 UTC by OSIDB Bzimport
Modified: 2024-09-03 14:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Node.js package. 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 they do not have explicit read access to.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:5900 0 None None None 2024-08-27 13:46:34 UTC
Red Hat Product Errata RHBA-2024:5925 0 None None None 2024-08-28 10:06:12 UTC
Red Hat Product Errata RHBA-2024:5947 0 None None None 2024-08-28 16:06:18 UTC
Red Hat Product Errata RHBA-2024:5950 0 None None None 2024-08-28 17:05:24 UTC
Red Hat Product Errata RHBA-2024:5954 0 None None None 2024-08-28 17:37:21 UTC
Red Hat Product Errata RHBA-2024:6231 0 None None None 2024-09-03 14:24:01 UTC
Red Hat Product Errata RHSA-2024:5814 0 None None None 2024-08-26 08:29:04 UTC
Red Hat Product Errata RHSA-2024:5815 0 None None None 2024-08-26 08:06:25 UTC

Description OSIDB Bzimport 2024-07-10 02:20:21 UTC
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.

Comment 2 errata-xmlrpc 2024-08-26 08:06:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:5815 https://access.redhat.com/errata/RHSA-2024:5815

Comment 3 errata-xmlrpc 2024-08-26 08:29:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:5814 https://access.redhat.com/errata/RHSA-2024:5814


Note You need to log in before you can comment on or make changes to this bug.