CVE-2023-32003
Last modified
CVE-2023-32003 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. `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.. EPSS estimates a 1.05% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Node.Js | >= 20.0.0, <= 20.5.0 |
| Fedoraproject | Fedora | 37 |
| Fedoraproject | Fedora | 38 |
References
- https://hackerone.com/reports/2037887Issue Tracking
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230915-0009/Third Party Advisory
- https://hackerone.com/reports/2037887Issue Tracking
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230915-0009/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-32003?
How severe is CVE-2023-32003?
How do I fix CVE-2023-32003?
Are you affected by CVE-2023-32003?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
