Skip to content

CVE-2023-39332

Nodejs Node.js path traversal

9.8 CRITICALEPSS 1.82%
  1. 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

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Nodejs Node.js≥ 20.0.0 < 20.8.0
Fedoraproject Fedora39

Remediation

Fixed in
Nodejs Node.js≥ 20.8.0

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.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.