Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-22018

published low CVSS 3.0 · 2.9

nodejs: fs.lstat bypasses permission model

Title from Red Hat VEX

Published
10 Jul 2024, 01:00:12 UTC
Updated
30 Apr 2025, 22:25:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
NodeJS — Node4.0 to < 4.* · 5.0 to < 5.* · 6.0 to < 6.* · 7.0 to < 7.* · 8.0 to < 8.* · 9.0 to < 9.* · 10.0 to < 10.* · 11.0 to < 11.* · 12.0 to < 12.* · 13.0 to < 13.* · 14.0 to < 14.* · 15.0 to < 15.* · 16.0 to < 16.* · 17.0 to < 17.* · 19.0 to < 19.* · 20.0 to < 20.15.1 · 21.0 to < 21.* · 22.0 to < 22.4.1 · Other versions: unaffected Affected Not stated hackerone
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-768 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 nodejs Advisory build 1:20.16.0-1.module_el8.10.0+3882+e12e42db ALSA-2024:5814
Alpine Linux edge nodejs Fixed 20.15.1-r0 Package fix record
Oracle Linux 8 nodejsaarch64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Red Hat Enterprise Linux RHEL-8 nodejsaarch64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
AlmaLinux 8 nodejs-devel Advisory build 1:20.16.0-1.module_el8.10.0+3882+e12e42db ALSA-2024:5814
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 nodejs-docs Advisory build 1:20.16.0-1.module_el8.10.0+3882+e12e42db ALSA-2024:5814
AlmaLinux 8 nodejs-full-i18n Advisory build 1:20.16.0-1.module_el8.10.0+3882+e12e42db ALSA-2024:5814
AlmaLinux 8 nodejs-nodemon Advisory build 3.0.1-1.module_el8.9.0+3731+490e3ce5 ALSA-2024:5814
AlmaLinux 8 nodejs-packaging Advisory build 2021.06-4.module_el8.9.0+3775+d8460d35 ALSA-2024:5814
AlmaLinux 8 nodejs-packaging-bundler Advisory build 2021.06-4.module_el8.9.0+3775+d8460d35 ALSA-2024:5814
AlmaLinux 8 npm Advisory build 1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db ALSA-2024:5814
AlmaLinux 9 nodejs Advisory build 1:20.16.0-1.module_el9.4.0+107+dbd477e4 ALSA-2024:5815
AlmaLinux 9 nodejs-devel Advisory build 1:20.16.0-1.module_el9.4.0+107+dbd477e4 ALSA-2024:5815
AlmaLinux 9 nodejs-docs Advisory build 1:20.16.0-1.module_el9.4.0+107+dbd477e4 ALSA-2024:5815
AlmaLinux 9 nodejs-full-i18n Advisory build 1:20.16.0-1.module_el9.4.0+107+dbd477e4 ALSA-2024:5815
AlmaLinux 9 nodejs-nodemon Advisory build 3.0.1-1.module_el9.3.0+47+c33bc288 ALSA-2024:5815
AlmaLinux 9 nodejs-packaging Advisory build 2021.06-4.module_el9.3.0+88+29afeaa2 ALSA-2024:5815
AlmaLinux 9 nodejs-packaging-bundler Advisory build 2021.06-4.module_el9.3.0+88+29afeaa2 ALSA-2024:5815
AlmaLinux 9 npm Advisory build 1:10.8.1-1.20.16.0.1.module_el9.4.0+107+dbd477e4 ALSA-2024:5815
Alpine Linux v3.19 nodejs Fixed 20.15.1-r0 Package fix record
Alpine Linux v3.20 nodejs Fixed 20.15.1-r0 Package fix record
Alpine Linux v3.21 nodejs Fixed 20.15.1-r0 Package fix record
Alpine Linux v3.22 nodejs Fixed 20.15.1-r0 Package fix record
Alpine Linux v3.23 nodejs Fixed 20.15.1-r0 Package fix record
Alpine Linux v3.24 nodejs Fixed 20.15.1-r0 Package fix record
Oracle Linux 8 nodejsx86_64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Oracle Linux 8 nodejs-develaarch64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Oracle Linux 8 nodejs-develx86_64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Oracle Linux 8 nodejs-docsaarch64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Oracle Linux 8 nodejs-docsx86_64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Oracle Linux 8 nodejs-full-i18naarch64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Oracle Linux 8 nodejs-full-i18nx86_64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Oracle Linux 8 nodejs-nodemonaarch64 · nodejs · 20b Advisory build 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 ELSA-2024-5814
Oracle Linux 8 nodejs-nodemonx86_64 · nodejs · 20b Advisory build 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 ELSA-2024-5814
Oracle Linux 8 nodejs-packagingaarch64 · nodejs · 20b Advisory build 0:2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-5814
Oracle Linux 8 nodejs-packagingx86_64 · nodejs · 20b Advisory build 0:2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-5814
Oracle Linux 8 nodejs-packaging-bundleraarch64 · nodejs · 20b Advisory build 0:2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-5814
Oracle Linux 8 nodejs-packaging-bundlerx86_64 · nodejs · 20b Advisory build 0:2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-5814
Oracle Linux 8 npmaarch64 · nodejs · 20b Advisory build 1:10.8.1-1.20.16.0.1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Oracle Linux 8 npmx86_64 · nodejs · 20b Advisory build 1:10.8.1-1.20.16.0.1.module+el8.10.0+90391+162fb07b ELSA-2024-5814
Oracle Linux 9 nodejsaarch64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Oracle Linux 9 nodejsx86_64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Oracle Linux 9 nodejs-develaarch64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Oracle Linux 9 nodejs-develx86_64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Oracle Linux 9 nodejs-docsaarch64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Oracle Linux 9 nodejs-docsx86_64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Oracle Linux 9 nodejs-full-i18naarch64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Oracle Linux 9 nodejs-full-i18nx86_64 · nodejs · 20b Advisory build 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Oracle Linux 9 nodejs-nodemonaarch64 · nodejs · 20b Advisory build 0:3.0.1-1.module+el9.3.0+90066+12d4a8d7 ELSA-2024-5815
Oracle Linux 9 nodejs-nodemonx86_64 · nodejs · 20b Advisory build 0:3.0.1-1.module+el9.3.0+90066+12d4a8d7 ELSA-2024-5815
Oracle Linux 9 nodejs-packagingaarch64 · nodejs · 20b Advisory build 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 ELSA-2024-5815
Oracle Linux 9 nodejs-packagingx86_64 · nodejs · 20b Advisory build 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 ELSA-2024-5815
Oracle Linux 9 nodejs-packaging-bundleraarch64 · nodejs · 20b Advisory build 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 ELSA-2024-5815
Oracle Linux 9 nodejs-packaging-bundlerx86_64 · nodejs · 20b Advisory build 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 ELSA-2024-5815
Oracle Linux 9 npmaarch64 · nodejs · 20b Advisory build 1:10.8.1-1.20.16.0.1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Oracle Linux 9 npmx86_64 · nodejs · 20b Advisory build 1:10.8.1-1.20.16.0.1.module+el9.4.0+90390+ec2aa9c0 ELSA-2024-5815
Red Hat Enterprise Linux RHEL-8 nodejsppc64le Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejss390x Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejssrc Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejsx86_64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-debuginfoaarch64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-debuginfoppc64le Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-debuginfos390x Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-debuginfox86_64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-debugsourceaarch64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-debugsourceppc64le Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-debugsources390x Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-debugsourcex86_64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-develaarch64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-develppc64le Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-devels390x Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-develx86_64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-docsnoarch Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-full-i18naarch64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-full-i18nppc64le Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-full-i18ns390x Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-full-i18nx86_64 Advisory build 1:20.16.0-1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-nodemonnoarch Advisory build 3.0.1-1.module+el8.9.0+20473+c4e3d824 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-nodemonsrc Advisory build 3.0.1-1.module+el8.9.0+20473+c4e3d824 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-packagingnoarch Advisory build 2021.06-4.module+el8.9.0+19519+e25b965a RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-packagingsrc Advisory build 2021.06-4.module+el8.9.0+19519+e25b965a RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 nodejs-packaging-bundlernoarch Advisory build 2021.06-4.module+el8.9.0+19519+e25b965a RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 npmaarch64 Advisory build 1:10.8.1-1.20.16.0.1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 npmppc64le Advisory build 1:10.8.1-1.20.16.0.1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 npms390x Advisory build 1:10.8.1-1.20.16.0.1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-8 npmx86_64 Advisory build 1:10.8.1-1.20.16.0.1.module+el8.10.0+22203+a88c8310 RHSA-2024:5814
Red Hat Enterprise Linux RHEL-9 nodejsaarch64 Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejsppc64le Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejss390x Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejssrc Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejsx86_64 Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejs-debuginfoaarch64 Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejs-debuginfoppc64le Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejs-debuginfos390x Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejs-debuginfox86_64 Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejs-debugsourceaarch64 Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejs-debugsourceppc64le Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejs-debugsources390x Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejs-debugsourcex86_64 Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815
Red Hat Enterprise Linux RHEL-9 nodejs-develaarch64 Advisory build 1:20.16.0-1.module+el9.4.0+22197+9e60f127 RHSA-2024:5815

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · hackerone · cna

Vendor advisories explicitly linked to this CVE.

24

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
2.9 / 10
Severity
low
Provider
hackerone · cna
Vector string
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
NodeJS Node 4.0 to < 4.* (affected · semver)5.0 to < 5.* (affected · semver)6.0 to < 6.* (affected · semver)7.0 to < 7.* (affected · semver)8.0 to < 8.* (affected · semver)9.0 to < 9.* (affected · semver)10.0 to < 10.* (affected · semver)11.0 to < 11.* (affected · semver)12.0 to < 12.* (affected · semver)13.0 to < 13.* (affected · semver)14.0 to < 14.* (affected · semver)15.0 to < 15.* (affected · semver)16.0 to < 16.* (affected · semver)17.0 to < 17.* (affected · semver)19.0 to < 19.* (affected · semver)20.0 to < 20.15.1 (affected · semver)21.0 to < 21.* (affected · semver)22.0 to < 22.4.1 (affected · semver)Default: unaffected hackerone · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

4

Provider assertions

3

hackerone · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
2d5a363a9e9137634b2bebb593eee0f8e72717c1dc2d2043e15e6c2f1caa6e8f
Ingested
23 Sep 2026, 08:19:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected