CVE-2024-45593 CRITICAL

CVE-2024-45593: Nix affected by unsafe NAR unpacking

Vendor Nixos
Product nix
Weakness CWE-22 · Path traversal
Published September 10, 2024
Last update September 10, 2024

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 10, 2024 CVE published
September 10, 2024 Record updated