# CVE-2024-45593: nix-bin: Nix is a package manager for Linux and other Unix systems

CVE-2024-45593 is fixed in 2 products on 1 platform, first by nix-bin 2.6.0+dfsg-3ubuntu0.1~esm1, released September 26, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-45593
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0060
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 10, 2024

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | nix-bin Ubuntu 22.04.1 LTS (jammy) | 2.6.0+dfsg-3ubuntu0.1~esm1 | [nix-bin 2.6.0+dfsg-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-nix-bin-2.6.0-dfsg-3ubuntu0.1-esm1.md) | Sep 26, 2024 |
| Linux | nix-bin Ubuntu 24.04.5 LTS (noble) | 2.18.1+dfsg-1ubuntu5+esm2 | [nix-bin 2.18.1+dfsg-1ubuntu5+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-nix-bin-2.18.1-dfsg-1ubuntu5-esm2.md) | Sep 26, 2024 |
| Linux | nix-setup-systemd Ubuntu 22.04.1 LTS (jammy) | 2.6.0+dfsg-3ubuntu0.1~esm1 | [nix-setup-systemd 2.6.0+dfsg-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-nix-setup-systemd-2.6.0-dfsg-3ubuntu0.1-esm1.md) | Sep 26, 2024 |
| Linux | nix-setup-systemd Ubuntu 24.04.5 LTS (noble) | 2.18.1+dfsg-1ubuntu5+esm2 | [nix-setup-systemd 2.18.1+dfsg-1ubuntu5+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-nix-setup-systemd-2.18.1-dfsg-1ubuntu5-esm2.md) | Sep 26, 2024 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
