---
title: "CVE-2023-32003\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2023-32003?format=md
keywords: index, follow
---

# CVE-2023-32003

Publication date 15 August 2023

Last updated 4 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.3 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2023-32003?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2023-32003?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| nodejs | 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Not affected |
| 20.04 LTS focal | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [sahnaseredini](https://launchpad.net/~sahnaseredini)

This vulnerability affects all users using the experimental
permission model which was introduced in Node.js 20

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | Low |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32003)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-32003)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2023-32003)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2023-32003)

### Other references

* <https://nodejs.org/en/blog/vulnerability/august-2023-security-releases#fsmkdtemp-and-fsmkdtempsync-are-missing-getvalidatedpath-checks-lowcve-2023-32003>
* <https://www.cve.org/CVERecord?id=CVE-2023-32003>
