CVE-2023-32003

Severity CVSS v4.0:
Pending analysis
Type:
CWE-22 Path Traversal
Publication date:
15/08/2023
Last modified:
03/07/2025

Description

`fs.mkdtemp()` and `fs.mkdtempSync()` can be used to bypass the permission model check using a path traversal attack. This flaw arises from a missing check in the fs.mkdtemp() API and the impact is a malicious actor could create an arbitrary directory.<br /> <br /> This vulnerability affects all users using the experimental permission model in Node.js 20.<br /> <br /> Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* 20.0.0 (including) 20.5.0 (including)
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*