Skip to content

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.

PackageAffectedFixed inStatus
NixOS hydra < 2024-08-27; < f73043378907c2c7e44f633ad764c8bdd1c947d5; = < f73043378907c2c7e44f633ad764c8bdd1c947d5 2024-08-27, f73043378907c2c7e44f633ad764c8bdd1c947d5 Fixed

Affected products

ProductAffected versionsFixed in
NixOS hydra = < f73043378907c2c7e44f633ad764c8bdd1c947d5 No fix listed
NixOS hydra < f73043378907c2c7e44f633ad764c8bdd1c947d5 f73043378907c2c7e44f633ad764c8bdd1c947d5
NixOS hydra < 2024-08-27 2024-08-27

References