Nix Hydra Missing authentication when triggering evaluations
NixOS hydra
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| NixOS hydra |
| No fix yet |
Original description
Hydra is a Continuous Integration service for Nix based projects. It is possible to trigger evaluations in Hydra without any authentication. Depending on the size of evaluations, this can impact the availability of systems. The problem can be fixed by applying https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 to any Hydra package. Users are advised to upgrade. Users unable to upgrade should deny the `/api/push` route in a reverse proxy. This also breaks the "Evaluate jobset" button in the frontend.
From the CVE record · GitHub_M
References
- github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5vVendor advisory
- github.com/NixOS/nixpkgs/pull/337766Patch
- github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5Patch
- mastodon.delroth.net/@delroth/113029832631860419Advisory
- github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45049.json
- nvd.nist.gov/vuln/detail/CVE-2024-45049