CVE-2024-45593

CRITICAL
Published Sep 10, 2024 Modified Jan 15, 2025 CWE-22

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.

Is your site exposed to CVE-2024-45593?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

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

Weakness Type (CWE)

CWE-22 Path Traversal

Affected Products

Vendor Product
nixos nix

References

Frequently Asked Questions

What is CVE-2024-45593? +
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. It has a CVSS v3.1 base score of 9.0 (CRITICAL).
How severe is CVE-2024-45593? +
CVE-2024-45593 has a CVSS v3.1 score of 9.0 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2024-45593? +
CVE-2024-45593 affects products from nixos, specifically: nix. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-45593? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-45593 — free, no signup required.