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
| Vector | AV: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
Affected Products
Node.Js