---
title: "CVE-2024-45593\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-2024-45593?format=md
keywords: index, follow
---

# CVE-2024-45593

Publication date 10 September 2024

Last updated 14 July 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**9.0 · Critical**

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

Toggle side navigation

## Description

Nix is a package manager for Linux and other Unix systems. A bug in Nix
2.24 prior to 2.24.6 allows a substituter or malicious user to craft a NAR
that, when unpacked by Nix, causes Nix to write to arbitrary file system
locations to which the Nix process has access. This will be with root
permissions when using the Nix daemon. This issue is fixed in Nix 2.24.6.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| nix | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Ignored end of life, was needed |
| 24.04 LTS noble | Fixed 2.18.1+dfsg-1ubuntu5+esm2  Ubuntu Pro |
| 22.04 LTS jammy | Fixed 2.6.0+dfsg-3ubuntu0.1~esm1  Ubuntu Pro |
| 20.04 LTS focal | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2024-45593?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| nix | * Upstream:   [eb11c14](https://github.com/NixOS/nix/commit/eb11c1499876cd4c9c188cbda5b1003b36ce2e59) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.0 · Critical

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.0 · Critical |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-7633-1](https://usn.ubuntu.com/USN-7633-1)
+ Nix vulnerabilities
+ 14 July 2025

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2024-45593>
* <https://github.com/NixOS/nix/security/advisories/GHSA-h4vv-h3jq-v493>
