CVE-2024-45049

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nixos:hydra:*:*:*:*:*:*:*:*

History

22 Sep 2025, 14:59

Type Values Removed Values Added
CPE cpe:2.3:a:nixos:hydra:*:*:*:*:*:*:*:*
First Time Nixos hydra
Nixos
References () https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 - () https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 - Patch
References () https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v - () https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v - Vendor Advisory, Patch
References () https://github.com/NixOS/nixpkgs/pull/337766 - () https://github.com/NixOS/nixpkgs/pull/337766 - Issue Tracking, Patch
References () https://mastodon.delroth.net/@delroth/113029832631860419 - () https://mastodon.delroth.net/@delroth/113029832631860419 - Third Party Advisory

28 Aug 2024, 12:57

Type Values Removed Values Added
Summary
  • (es) Hydra es un servicio de integración continua para proyectos basados en Nix. Es posible activar evaluaciones en Hydra sin ninguna autenticación. Dependiendo del tamaño de las evaluaciones, esto puede afectar la disponibilidad de los sistemas. El problema se puede solucionar aplicando https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 a cualquier paquete Hydra. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben rechazar la ruta `/api/push` en un proxy inverso. Esto también rompe el botón "Evaluar conjunto de trabajos" en la interfaz.

27 Aug 2024, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-27 21:15

Updated : 2025-09-22 14:59


NVD link : CVE-2024-45049

Mitre link : CVE-2024-45049

CVE.ORG link : CVE-2024-45049


JSON object : View

Products Affected

nixos

  • hydra
CWE
CWE-306

Missing Authentication for Critical Function