CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Nixos

CVE-2024-27297
Nixos Nix vulnerability

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.

Affected products

Nix. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Nixos Nix runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Nixos products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.