Vulnerability · Published Aug 27, 2024 · Assigned by GitHub_M
CVE-2024-45049Nix Hydra Missing authentication when triggering evaluations
High 7.5
In plain English
A high-severity missing authentication in hydra from NixOS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v x_refsource_CONFIRM
- https://github.com/NixOS/nixpkgs/pull/337766 x_refsource_MISC
- https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 x_refsource_MISC
- https://mastodon.delroth.net/@delroth/113029832631860419 x_refsource_MISC