CVE-2024-32657

Source
https://cve.org/CVERecord?id=CVE-2024-32657
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32657.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-32657
Aliases
  • GHSA-2p75-6g9f-pqgx
Published
2024-04-22T22:24:06.762Z
Modified
2026-04-10T05:17:13.829999Z
Severity
  • 4.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Hydra has persistent XSS vulnerability serving HTML build outputs
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32657.json"
}
References

Affected packages

Git / github.com/nixos/hydra

Affected ranges

Type
GIT
Repo
https://github.com/nixos/hydra
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32657.json"

Git / github.com/nixos/nixpkgs

Affected ranges

Type
GIT
Repo
https://github.com/nixos/nixpkgs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.1
0.13
0.14
0.2
0.3
0.4
15.*
15.09-beta
18.*
18.03-beta
18.09-beta
21.*
21.11-pre
23.*
23.05-pre
Other
v192
v206
v208

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32657.json"