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

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

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-09-10T15:51:07.881Z

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

Reserved: 2024-09-02T16:00:02.423Z

Link: CVE-2024-45593

cve-icon Vulnrichment

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

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-09-10T16:15:21.760

Modified: 2024-09-10T17:43:14.410

Link: CVE-2024-45593

cve-icon Redhat

No data.