CVE & CISA-KEV Catalog

CVE-2023-39332

CRITICALEPSS 76th pctl
9.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
nodejsRed Hat / RHEL
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.src::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
nodejsRocky
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.src::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
nodejs-debuginfoRed Hat / RHEL
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
nodejs-debuginfoRocky
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
nodejs-debugsourceRocky
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
nodejs-debugsourceRed Hat / RHEL
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
nodejs-develRed Hat / RHEL
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
nodejs-develRocky
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
nodejs-docsRocky
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.noarch::nodejs:20RHSA-2023:7205
nodejs-docsRed Hat / RHEL
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.noarch::nodejs:20RHSA-2023:7205
nodejs-full-i18nRocky
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
nodejs-full-i18nRed Hat / RHEL
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:20.8.1-1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
nodejs-nodemonRocky
Fixed in:0:3.0.1-1.module+el8.9.0+20473+c4e3d824.src::nodejs:20RHSA-2023:7205
Fixed in:0:3.0.1-1.module+el8.9.0+20473+c4e3d824.noarch::nodejs:20RHSA-2023:7205
nodejs-nodemonRed Hat / RHEL
Fixed in:0:3.0.1-1.module+el8.9.0+20473+c4e3d824.src::nodejs:20RHSA-2023:7205
Fixed in:0:3.0.1-1.module+el8.9.0+20473+c4e3d824.noarch::nodejs:20RHSA-2023:7205
nodejs-packagingRed Hat / RHEL
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.noarch::nodejs:20RHSA-2023:7205
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.src::nodejs:20RHSA-2023:7205
nodejs-packagingRocky
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.src::nodejs:20RHSA-2023:7205
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.noarch::nodejs:20RHSA-2023:7205
nodejs-packaging-bundlerRocky
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.noarch::nodejs:20RHSA-2023:7205
nodejs-packaging-bundlerRed Hat / RHEL
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.noarch::nodejs:20RHSA-2023:7205
npmRed Hat / RHEL
Fixed in:1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
Fixed in:1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
Fixed in:1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
npmRocky
Fixed in:1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824.aarch64::nodejs:20RHSA-2023:7205
Fixed in:1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824.ppc64le::nodejs:20RHSA-2023:7205
Fixed in:1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824.s390x::nodejs:20RHSA-2023:7205
Fixed in:1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824.x86_64::nodejs:20RHSA-2023:7205
Node.jsWindows application
Affected:20.0.0 20.8.0Fixed in:20.8.0Node.js Foundation
Node.js (LTS)Windows application
Affected:20.0.0 20.8.0Fixed in:20.8.0Node.js Foundation

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

1.82%probability of exploitation in 30 days
76thpercentile

Elevated risk: more likely to be exploited than 76% of all known CVEs.

References

Other references1

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2023-39332
CVE-2023-39332 severity badge

Markdown

[![CVE-2023-39332](https://tridentstack.com/cve/badge/CVE-2023-39332.svg)](https://tridentstack.com/cve/CVE-2023-39332)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-39332"><img src="https://tridentstack.com/cve/badge/CVE-2023-39332.svg" alt="CVE-2023-39332"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.