Vulnerability in Nixos Nix
CVE-2024-27297
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…
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
EPSS: 0.001 (19.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L.
Affected products
- Nixos Nix — versions >= 2.3.0, < 2.3.18, >= 2.4.0, < 2.18.2, >= 2.19.0, < 2.19.4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/NixOS/nix/security/advisories/GHSA-2ffj-w4mj-pg37 (x_refsource_CONFIRM)
- https://github.com/NixOS/nix/commit/f8170ce9f119e5e6724eb81ff1b5a2d4c0024000 (x_refsource_MISC)
- https://hackmd.io/03UGerewRcy3db44JQoWvw (x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-27297?
- CVE-2024-27297 is a medium-severity vulnerability in Nixos Nix, classified under Time-of-check Time-of-use (TOCTOU) Race Condition. CVSS score: 6.3/10. Published 2024-03-11.
- How severe is CVE-2024-27297?
- Medium severity. CVSS v3 base score is 6.3 out of 10.
- Is CVE-2024-27297 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.