CVE-2024-45593 - CVE House
Back to Database
Status published Critical CVE-2024-45593

Nix affected by unsafe NAR unpacking

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-45593

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

nix
Vulnerable Versions:
>= 2.24.0, < 2.24.6

Timeline

Official Publish: September 10th, 2024
Last Modified: September 10th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

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

Weaknesses (CWE)