Path Traversal The advisory has been revoked - it doesn't affect any version of package NixOS/nix  (opens in a new tab)


Threat Intelligence

EPSS
0.07% (34th 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 Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NIXOSNIX-7925474
  • published10 Sept 2024
  • disclosed10 Sept 2024
  • creditpuckipedia

Introduced: 10 Sep 2024

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

How to fix?

Upgrade NixOS/nix to version 2.24.6 or higher.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Path Traversal through the mishandling of a directory containing a symlink and a directory of the same name. An attacker can access or modify files outside of the restricted directory by crafting a malicious nar file containing symlinks.