CVE-2024-45049 Nix Hydra Missing authentication when triggering evaluations
HighCVSS 7.5
EPSS 0.62%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| NixOS hydra | < 2024-08-27; < f73043378907c2c7e44f633ad764c8bdd1c947d5; = < f73043378907c2c7e44f633ad764c8bdd1c947d5 | 2024-08-27, f73043378907c2c7e44f633ad764c8bdd1c947d5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| NixOS hydra | = < f73043378907c2c7e44f633ad764c8bdd1c947d5 | No fix listed |
| NixOS hydra | < f73043378907c2c7e44f633ad764c8bdd1c947d5 | f73043378907c2c7e44f633ad764c8bdd1c947d5 |
| NixOS hydra | < 2024-08-27 | 2024-08-27 |
References
- https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v patch vendor-advisory
- https://github.com/NixOS/nixpkgs/pull/337766 issue-tracking patch
- https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 patch
- https://mastodon.delroth.net/@delroth/113029832631860419 third-party-advisory