CVE-2024-45593Published Sep 10, 2024 · Sep 10Updated Nov 11
Nix affected by unsafe NAR unpacking
NixOS nix
Critical9.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| NixOS nix |
| No fix yet |
Original 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.
From the CVE record · GitHub_M