Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nixos | Hydra | < 23.11 |
Related Weaknesses (CWE)
References
- https://github.com/NixOS/hydra/commit/b72528be5074f3e62e9ae2c2ae8ef9c07a0b4dd3Patch
- https://github.com/NixOS/hydra/security/advisories/GHSA-2p75-6g9f-pqgxVendor Advisory
- https://github.com/NixOS/nixpkgs/pull/306017Issue Tracking
- https://github.com/NixOS/nixpkgs/pull/306018Issue Tracking
- https://github.com/NixOS/hydra/commit/b72528be5074f3e62e9ae2c2ae8ef9c07a0b4dd3Patch
- https://github.com/NixOS/hydra/security/advisories/GHSA-2p75-6g9f-pqgxVendor Advisory
- https://github.com/NixOS/nixpkgs/pull/306017Issue Tracking
- https://github.com/NixOS/nixpkgs/pull/306018Issue Tracking
FAQ
What is CVE-2024-32657?
CVE-2024-32657 is a vulnerability with a CVSS score of 4.6 (MEDIUM). 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 allow...
How severe is CVE-2024-32657?
CVE-2024-32657 has been rated MEDIUM with a CVSS base score of 4.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-32657?
Check the references section above for vendor advisories and patch information. Affected products include: Nixos Hydra.