CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Nixos

CVE-2024-32657
Nixos Hydra vulnerability

Hydra is a Continuous Integration service for Nix based projects. Attackers can execute arbitrary code in the browser context of Hydra and execute authenticated HTTP requests. The abused feature allows Nix builds to specify files that Hydra serves to clients. One use of this functionality is serving NixOS `.iso` files. The issue is only with html files served by Hydra. The issue has been patched on https://hydra.nixos.org around 2024-04-21 14:30 UTC. The nixpkgs package were fixed in unstable and 23.11. Users with custom Hydra packages can apply the fix commit to their local installations. The vulnerability is only triggered when opening HTML build artifacts, so not opening them until the vulnerability is fixed works around the issue.

Affected products

Hydra. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Nixos Hydra 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.