Skip to content

CVE-2023-32003 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 mali...

MediumCVSS 5.3 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
nodejs node >= 4.0 No fix listed
nodejs node >= 5.0 No fix listed
nodejs node >= 6.0 No fix listed
nodejs node >= 7.0 No fix listed
nodejs node >= 8.0 No fix listed
nodejs node >= 9.0 No fix listed
nodejs node >= 10.0 No fix listed
nodejs node >= 11.0 No fix listed
nodejs node >= 12.0 No fix listed
nodejs node >= 13.0 No fix listed
nodejs node >= 14.0 No fix listed
nodejs node >= 15.0 No fix listed
nodejs node >= 17.0 No fix listed
nodejs node >= 19.0 No fix listed
nodejs node >= 20.0, < 20.5.1 20.5.1
nodejs node.js >= 20.0.0, <= 20.5.0 No fix listed
fedoraproject fedora = 37 No fix listed
fedoraproject fedora = 38 No fix listed

References