CVE Database›Document archive›CVE-2023-39332

CVE-2023-39332

nodejs: path traversal through path stored in Uint8Array

Loading…

Severity

Important

Red Hat Product Security

9.8

CVSS 3.1

Review impact separately from score.

Published · October 13, 2023

Updated · November 3, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-22 · Improper Limitation of a Pathname to a Restricted Directory