CVE-2023-39332
Nodejs Node.js path traversal
- Published18 Oct 2023
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.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
Remediation
References
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2023-39332 being actively exploited?
CVE-2023-39332 is not in the CISA KEV catalog. Its EPSS exploit probability is 1.82%.
How severe is CVE-2023-39332?
CVE-2023-39332 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 1.82% probability of exploitation.
Which products are affected by CVE-2023-39332?
Affected products include Nodejs Node.js, Fedoraproject Fedora.
How do I fix CVE-2023-39332?
Upgrade affected software to a fixed version, for example Nodejs Node.js 20.8.0 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2023-39332 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.