CVE-2024-32657

Hydra is a Continuous Integration service for Nix based projects. Attackers can execute arbitrary code in the browser context of Hydra and execute authenticated HTTP requests. The abused feature allows Nix builds to specify files that Hydra serves to clients. One use of this functionality is serving NixOS `.iso` files. The issue is only with html files served by Hydra. The issue has been patched on https://hydra.nixos.org around 2024-04-21 14:30 UTC. The nixpkgs package were fixed in unstable and 23.11. Users with custom Hydra packages can apply the fix commit to their local installations. The vulnerability is only triggered when opening HTML build artifacts, so not opening them until the vulnerability is fixed works around the issue.
Configurations

Configuration 1 (hide)

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

History

22 Sep 2025, 14:10

Type Values Removed Values Added
CPE cpe:2.3:a:nixos:hydra:*:*:*:*:*:*:*:*
First Time Nixos hydra
Nixos
References () https://github.com/NixOS/hydra/commit/b72528be5074f3e62e9ae2c2ae8ef9c07a0b4dd3 - () https://github.com/NixOS/hydra/commit/b72528be5074f3e62e9ae2c2ae8ef9c07a0b4dd3 - Patch
References () https://github.com/NixOS/hydra/security/advisories/GHSA-2p75-6g9f-pqgx - () https://github.com/NixOS/hydra/security/advisories/GHSA-2p75-6g9f-pqgx - Vendor Advisory
References () https://github.com/NixOS/nixpkgs/pull/306017 - () https://github.com/NixOS/nixpkgs/pull/306017 - Issue Tracking
References () https://github.com/NixOS/nixpkgs/pull/306018 - () https://github.com/NixOS/nixpkgs/pull/306018 - Issue Tracking

21 Nov 2024, 09:15

Type Values Removed Values Added
References () https://github.com/NixOS/hydra/commit/b72528be5074f3e62e9ae2c2ae8ef9c07a0b4dd3 - () https://github.com/NixOS/hydra/commit/b72528be5074f3e62e9ae2c2ae8ef9c07a0b4dd3 -
References () https://github.com/NixOS/hydra/security/advisories/GHSA-2p75-6g9f-pqgx - () https://github.com/NixOS/hydra/security/advisories/GHSA-2p75-6g9f-pqgx -
References () https://github.com/NixOS/nixpkgs/pull/306017 - () https://github.com/NixOS/nixpkgs/pull/306017 -
References () https://github.com/NixOS/nixpkgs/pull/306018 - () https://github.com/NixOS/nixpkgs/pull/306018 -

23 Apr 2024, 12:52

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-22 23:15

Updated : 2025-09-22 14:10


NVD link : CVE-2024-32657

Mitre link : CVE-2024-32657

CVE.ORG link : CVE-2024-32657


JSON object : View

Products Affected

nixos

  • hydra
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')