Back
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…
Medium5.3EPSS 1.2%
- Published
- Updated
- Reserved
- Assigned by
- hackerone
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.2% · top 32% of all CVEs (4 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
- affected 4.0 – < 4.*
- affected 5.0 – < 5.*
- affected 6.0 – < 6.*
- affected 7.0 – < 7.*
- affected 8.0 – < 8.*
- affected 9.0 – < 9.*
- affected 10.0 – < 10.*
- affected 11.0 – < 11.*
- affected 12.0 – < 12.*
- affected 13.0 – < 13.*
- affected 14.0 – < 14.*
- affected 15.0 – < 15.*
- affected 17.0 – < 17.*
- affected 19.0 – < 19.*
- affected 20.0 – < 20.5.1
References (4)
- https://hackerone.com/reports/2037887 (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20230915-0009/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-32003)Record last updated .