Permission model bypass via fs.mkdtemp()
NodeJS Node
At a glance
`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 description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 1.17%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:NodeJS | Node | Affected versions:≥ 4.0, < 4.*Show full version range for Node≥ 5.0, < 5.*≥ 6.0, < 6.*≥ 7.0, < 7.*≥ 8.0, < 8.*≥ 9.0, < 9.*≥ 10.0, < 10.*≥ 11.0, < 11.*≥ 12.0, < 12.*≥ 13.0, < 13.*≥ 14.0, < 14.*≥ 15.0, < 15.*≥ 17.0, < 17.*≥ 19.0, < 19.*≥ 20.0, < 20.5.1 |
| Vendor:SUSE | openSUSE Tumbleweed | Affected versions:Source does not specify a version range |
| Vendor:nodejs | node.js | Affected versions:≥ 20.0.0, ≤ 20.5.0Show full version range for node.js
|
| Vendor:Fedora | fedora | Affected versions:37Show full version range for fedora38
|
1–4 of 4 · Page 1 of 1
CVSS scores and metrics6
[email protected] · NVD (Primary)Primary5.3 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NCISA-ADP · CVE List / CNA (adp)5.3 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N134c704f-9b21-4f2e-91b3-4a467353bcc0 · NVD (Secondary)5.3 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NCVE-2023-32003 · OSV (source-vector)5.3 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NRed Hat · Red Hat VEX (adp)5.3 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NSUSE · SUSE VEX (adp)6.5 / 10MediumCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:LCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences