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. This vulnerability affects all users using the experimental permission model in Node.js 20. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Related CPE's



o

fedoraproject

fedora

2

Weaknesses



CWE-22

134c704f-9b21-4f2e-91b3-4a467353bcc0

Secondary

CWE-22

CVSS impact metrics


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

5.3 · Medium

Information


Source identifier

[email protected]

Vulnerability status

Modified

Published

2023-08-15T14:15:10.970Z

2 years ago

Last modified

2025-07-03T12:15:24.603Z

8 months ago