CVE-2024-22018
CVE-2024-22018
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 2.9 · Low · EPSS 0.5% · Fix available
- Published
- Updated
Affected products and versions
node.js
- Versions
- ≥ 4.0, < 4.*: Affected (semver)
- ≥ 5.0, < 5.*: Affected (semver)
- ≥ 6.0, < 6.*: Affected (semver)
- ≥ 7.0, < 7.*: Affected (semver)
- ≥ 8.0, < 8.*: Affected (semver)
- ≥ 9.0, < 9.*: Affected (semver)
- ≥ 10.0, < 10.*: Affected (semver)
- ≥ 11.0, < 11.*: Affected (semver)
- ≥ 12.0, < 12.*: Affected (semver)
- ≥ 13.0, < 13.*: Affected (semver)
- ≥ 14.0, < 14.*: Affected (semver)
- ≥ 15.0, < 15.*: Affected (semver)
- ≥ 16.0, < 16.*: Affected (semver)
- ≥ 17.0, < 17.*: Affected (semver)
- ≥ 19.0, < 19.*: Affected (semver)
- ≥ 20.0, < 20.15.1: Affected (semver)
- ≥ 21.0, < 21.*: Affected (semver)
- ≥ 22.0, < 22.4.1: Affected (semver)
Update to 20.15.1; Update to 22.4.1
nodejs Debian:13
- Affected ranges
- ECOSYSTEM: < 20.15.1+dfsg-1
Update to 20.15.1+dfsg-1
nodejs Debian:14
- Affected ranges
- ECOSYSTEM: < 20.15.1+dfsg-1
Update to 20.15.1+dfsg-1
nodejs Ubuntu:Pro:22.04:LTS
- Versions
- 12.22.5~dfsg-5ubuntu1
- 12.22.7~dfsg-2ubuntu1
- 12.22.7~dfsg-2ubuntu3
- 12.22.9~dfsg-1ubuntu2
- 12.22.9~dfsg-1ubuntu3
- 12.22.9~dfsg-1ubuntu3.1
- 12.22.9~dfsg-1ubuntu3.2
- 12.22.9~dfsg-1ubuntu3.3
- 12.22.9~dfsg-1ubuntu3.4
- 12.22.9~dfsg-1ubuntu3.5
- 12.22.9~dfsg-1ubuntu3.6
- 12.22.9~dfsg-1ubuntu3.6+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
nodejs Ubuntu:24.04:LTS
- Versions
- 18.13.0+dfsg1-1ubuntu2
- 18.19.1+dfsg-2ubuntu4
- 18.19.1+dfsg-6ubuntu1
- 18.19.1+dfsg-6ubuntu2
- 18.19.1+dfsg-6ubuntu5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published