
CVE catalog
CVE-2024-21891
nodejs: CVE-2024-21891
- Severity
- High · CVSS 8.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.24% · Oct 25, 2026
Node.js depends on multiple built-in utility functions to normalize paths provided to node:fs functions, which can be overwitten with user-defined implementations leading to filesystem permission model bypass through path traversal attack. 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nodejs | sid | 24.22.1+dfsg+~cs24.19.2-1 | not affected |
| Debian | nodejs | forky | 24.21.0+dfsg+~cs24.13.4-1 | not affected |
| Debian | nodejs | trixie | 20.19.2+dfsg-1+deb13u2 | not affected |
| Debian | nodejs | trixie-security | 20.19.2+dfsg-1+deb13u3 | not affected |
| Debian | nodejs | bookworm | 18.20.4+dfsg-1~deb12u2 | not affected |
| Debian | nodejs | bookworm-security | 18.20.4+dfsg-1~deb12u3 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nodejs | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | nodejs | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | nodejs | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | nodejs | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2024:1688]
- [https://cert-portal.siemens.com/productcert/csaf/ssa-915275.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_1687.json]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-21891]
- [https://security-tracker.debian.org/tracker/CVE-2024-21891]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0393.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]