CVE-2024-36050 — Nix through 2
Nix through 2.22.1 mishandles certain usage of hash caches, which makes it easier for attackers to replace current source code with attacker-controlled source code by luring a maintainer into accepting a malicious pull request.
Published
2024-05-18T21:24:10.412Z
Last modified
2025-06-27T11:59:52.999Z
01What is this vulnerability?
Nix through 2.22.1 mishandles certain usage of hash caches, which makes it easier for attackers to replace current source code with attacker-controlled source code by luring a maintainer into accepting a malicious pull request.
02Affected products
| Vendor | Product | Versions |
|---|
| n | a / n/a | n/a |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2024-05-18T21:24:10.412Z
- Last modified: 2025-06-27T11:59:52.999Z
09References
- github.com — https://github.com/NixOS/nix/issues/969
- github.com — https://github.com/NixOS/ofborg/issues/68#issuecomment-2082789441
- discourse.nixos.org — https://discourse.nixos.org/t/nixpkgs-supply-chain-security-project/34345
- discourse.nixos.org — https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →