CVE-2023-32003

Node.js 20: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVE-2023-32003 is fixed in Node.js 20 on 1 platform by Node.js 20 20.5.1 (version 20.5.1), released August 9, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.3
No vendor severity
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0117
67th percentile

`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.

Where it's fixed

ProductFixed inFixReleased
Windows apps
Node.js 20 20.5.1 Node.js 20 20.5.1 Aug 9, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.