Back to the CVE list
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.

CVSS score

2.9

EPSS probability

%0.5

Risk score

0.0

Published

2 y ago

Vulnerability Timeline (Change History)

CVE-2024-22018 historical changes made to the vulnerability by NVD, CISA and MITRE:

DateActor / SourceAction / DescriptionTypePrevious valueNew value
11.08.2026nvd@nist.govInitial Analysis & CVSS Vector AssignmentCVSS V3.1—CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
09.07.2024CISA CoordinatorSSVC Risk Re-assessmentSSVC / KEVexploitation: noneexploitation: none
09.07.2024MITRE / NVDNew CVE Record Received & IngestedCVE Created—CVE-2024-22018

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2024-22018"