Vulnerability
CVE-2024-22018
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.
33 advisories report this vulnerability, across 15 ecosystems.
Advisories
-
ALAS2023-2024-768
Amazon Linux 2023 - ALAS2023-2024-768: Medium priority package update for nodejs20
-
ALPINE-CVE-2024-22018
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…
- ALPINE-EDGE-CVE-2024-22018
-
ALSA-2024:5814
Moderate: nodejs:20 security update
-
ALSA-2024:5815
Moderate: nodejs:20 security update
-
AZL-43213
CVE-2024-22018 affecting package nodejs for versions less than 24.14.1-3
- CGA-29hr-r34w-8j59
- CGA-892c-cp4v-835q
- CGA-8jpg-fpg4-8hr6
- CGA-8rgm-g55j-xfhj
- CGA-c735-8gcx-79fq
- CGA-jpcm-jf9c-cvx6
- CGA-mf4c-6q6j-9xh9
- CGA-wc3h-5jp3-xc2c
-
CNA-CVE-2024-22018
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…
-
DEBIAN-CVE-2024-22018
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…
-
ELSA-2024-5814
ELSA-2024-5814: nodejs:20 security update (MODERATE)
-
ELSA-2024-5815
ELSA-2024-5815: nodejs:20 security update (MODERATE)
-
OESA-2025-1199
nodejs security update
-
OESA-2025-1200
nodejs security update
-
RHSA-2024:5814
Red Hat Security Advisory: nodejs:20 security update
-
RHSA-2024:5815
Red Hat Security Advisory: nodejs:20 security update
-
RHVEX-CVE-2024-22018
nodejs: fs.lstat bypasses permission model
-
RLSA-2024:5814
Moderate: nodejs:20 security update
-
RLSA-2024:5815
Moderate: nodejs:20 security update
-
SUSE-SU-2024:2543-1
Security update for nodejs20
-
SUSE-SU-2024:2574-1
Security update for nodejs20
-
SUSEVEX-CVE-2024-22018
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…
-
UBUNTU-CVE-2024-22018
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…
-
openSUSE-SU-2024:14214-1
corepack20-20.15.1-1.1 on GA media
-
openSUSE-SU-2024:14435-1
corepack22-22.10.0-1.1 on GA media
-
openSUSE-SU-2025:15802-1
corepack24-24.11.1-2.1 on GA media
-
openSUSE-SU-2026:11110-1
nodejs26-26.3.1-1.1 on GA media