CVE-2024-27297
Nix File Path Modification Through Unix Domain Sockets
Description
Nix is a package manager for Linux and other Unix systems. A fixed-output derivations on Linux can send file descriptors to files in the Nix store to another program running on the host (or another fixed-output derivation) via Unix domain sockets in the abstract namespace. This allows to modify the output of the derivation, after Nix has registered the path as "valid" and immutable in the Nix database. In particular, this allows the output of fixed-output derivations to be modified from their expected content. This issue has been addressed in versions 2.3.18 2.18.2 2.19.4 and 2.20.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.
INFO
Published Date :
March 11, 2024, 10:15 p.m.
Last Modified :
March 12, 2024, 12:40 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
4.2
Exploitability Score :
2.1
Public PoC/Exploit Available at Github
CVE-2024-27297 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-27297
.
URL | Resource |
---|---|
https://github.com/NixOS/nix/commit/f8170ce9f119e5e6724eb81ff1b5a2d4c0024000 | |
https://github.com/NixOS/nix/security/advisories/GHSA-2ffj-w4mj-pg37 | |
https://hackmd.io/03UGerewRcy3db44JQoWvw |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Nix Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-27297
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-27297
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Received by [email protected]
Mar. 11, 2024
Action Type Old Value New Value Added Description Nix is a package manager for Linux and other Unix systems. A fixed-output derivations on Linux can send file descriptors to files in the Nix store to another program running on the host (or another fixed-output derivation) via Unix domain sockets in the abstract namespace. This allows to modify the output of the derivation, after Nix has registered the path as "valid" and immutable in the Nix database. In particular, this allows the output of fixed-output derivations to be modified from their expected content. This issue has been addressed in versions 2.3.18 2.18.2 2.19.4 and 2.20.5. Users are advised to upgrade. There are no known workarounds for this vulnerability. Added Reference GitHub, Inc. https://github.com/NixOS/nix/security/advisories/GHSA-2ffj-w4mj-pg37 [No types assigned] Added Reference GitHub, Inc. https://github.com/NixOS/nix/commit/f8170ce9f119e5e6724eb81ff1b5a2d4c0024000 [No types assigned] Added Reference GitHub, Inc. https://hackmd.io/03UGerewRcy3db44JQoWvw [No types assigned] Added CWE GitHub, Inc. CWE-367 Added CVSS V3.1 GitHub, Inc. AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-27297
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-27297
weaknesses.