CVE-2024-36050
MEDIUM
Published May 18, 2024
Modified Apr 15, 2026
Description
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.
Is your site exposed to CVE-2024-36050?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
4.3
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
References
Other References
https://discourse.nixos.org/t/nixpkgs-supply-chain-security-project/34345
https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017/26
https://github.com/NixOS/nix/issues/969
https://github.com/NixOS/ofborg/issues/68#issuecomment-2082789441
https://discourse.nixos.org/t/nixpkgs-supply-chain-security-project/34345
https://github.com/NixOS/nix/issues/969
https://github.com/NixOS/ofborg/issues/68#issuecomment-2082789441
Frequently Asked Questions
What is CVE-2024-36050? +
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. It has a CVSS v3.1 base score of 4.3 (MEDIUM).
How severe is CVE-2024-36050? +
CVE-2024-36050 has a CVSS v3.1 score of 4.3 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
How do I check if I'm vulnerable to CVE-2024-36050? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.