CVEvulnerability
CVE-2023-32003
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-08-15
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-22
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 configurations
• nodejs node.js (>= 20.0.0 <= 20.5.0)
• fedoraproject fedora 37
• fedoraproject fedora 38
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://hackerone.com/reports/2037887 Issue Tracking
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/ Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/ Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230915-0009/ Third Party Advisory
- https://hackerone.com/reports/2037887 Issue Tracking
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/ Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/ Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230915-0009/ Third Party Advisory