Directory Traversal Affecting nix package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.22% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2410-NIX-8190505
  • published26 Jun 2025
  • disclosed10 Sept 2024

Introduced: 10 Sep 2024

CVE-2024-45593  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.10 nix.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nix package and not the nix package as distributed by Ubuntu. See How to fix? for Ubuntu:24.10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1