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.
Metrics
Affected Vendors & Products
References
History
Wed, 15 Jan 2025 14:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
CPEs | cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:* |
Tue, 10 Sep 2024 16:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Nixos
Nixos nix |
|
CPEs | cpe:2.3:o:nixos:nix:*:*:*:*:*:*:*:* | |
Vendors & Products |
Nixos
Nixos nix |
|
Metrics |
ssvc
|
Tue, 10 Sep 2024 16:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | Nix affected by unsafe NAR unpacking | |
Weaknesses | CWE-22 | |
References |
| |
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2024-09-10T16:06:16.016Z
Reserved: 2024-09-02T16:00:02.423Z
Link: CVE-2024-45593

Updated: 2024-09-10T16:06:07.150Z

Status : Analyzed
Published: 2024-09-10T16:15:21.760
Modified: 2025-01-15T14:29:23.370
Link: CVE-2024-45593

No data.