
CVE catalog
CVE-2023-39332
nodejs: CVE-2023-39332
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.19% · Oct 27, 2026
Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Array` class. Node.js prevents path traversal through strings (see CVE-2023-30584) and `Buffer` objects (see CVE-2023-32004), but not through non-`Buffer` `Uint8Array` objects. This is distinct from CVE-2023-32004 which only referred to `Buffer` objects. However, the vulnerability follows the same pattern using `Uint8Array` instead of `Buffer`. 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
[Debian 12 (Bookworm)]
- [libnode108]Not affected
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
- [libnode-dev]Not affected
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
- [nodejs]Not affected
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
- [nodejs-doc]Not affected
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· all · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-915275.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_7205.json]
- [https://security-tracker.debian.org/tracker/CVE-2023-39332]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-39332.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2655.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]