Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-32003

nodejs: fs.mkdtemp() and fs.mkdtempSync() are missing getValidatedPath() checks

Overview

Published
15 Aug 2023
Modified
17 Jun 2026
Medium CVE
2 Registry packages
6 OS packages
3 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

5.3 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

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

Weakness: CWE-22

Affected packages · 2

Packages affected by CVE-2023-32003
EcosystemPackageVulnerableFixed in
Bitnami node >=20.0.0, <20.5.1 20.5.1
Bitnami node-min >=20.0.0, <20.5.1 20.5.1

Open a package to see all its vulnerabilities.

Operating systems · 5 fixes

chainguard 1 release · 2 packages

not affected 1 fixed 1
nodejs-16 nodejs-20
chainguard fixes for CVE-2023-32003
ReleasePackageFixed in
nodejs-16 +1 not affected
nodejs-20 20.5.1-r0

openSUSE 1 release · 1 package

fixed 1
corepack20
openSUSE fixes for CVE-2023-32003
ReleasePackageFixed inAdvisory
Tumbleweed corepack20 +4 20.5.1-1.1 openSUSE-SU-2024:13117-1

wolfi 1 release · 2 packages

not affected 1 fixed 1
nodejs-16 nodejs-20
wolfi fixes for CVE-2023-32003
ReleasePackageFixed in
nodejs-16 +1 not affected
nodejs-20 20.5.1-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.