CVE-2024-45049

Nix Hydra Missing authentication when triggering evaluations

State
Published
Severity
7.5 High
Published
Aug 27, 2024
Updated
Aug 28, 2024
Reserved
Aug 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-306 Missing Authentication for Critical Function

Affected Products

ProductVersions
hydraNixOS
  • < f73043378907c2c7e44f633ad764c8bdd1c947d5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.