PT-2023-9651 · Node.Js · Node.Js

Axel Chong

·

Published

2023-06-25

·

Updated

2025-07-03

·

CVE-2023-32003

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Node.js versions 20
Description The issue arises from a missing check in the fs.mkdtemp() API, allowing a malicious actor to bypass the permission model check using a path traversal attack. This can lead to the creation of an arbitrary directory. The vulnerability affects all users using the experimental permission model in Node.js.
Recommendations For Node.js version 20, consider disabling the fs.mkdtemp() and fs.mkdtempSync() functions until a patch is available to prevent exploitation. Restrict access to the vulnerable API endpoints to minimize the risk of arbitrary directory creation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-09200
BIT-NODE-2023-32003
BIT-NODE-MIN-2023-32003
CVE-2023-32003
OPENSUSE-SU-2024:13117-1

Affected Products

Node.Js