CVE-2024-36050
Nix through 2.22.1 mishandles certain usage of hash caches, which …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- discourse.nixos.org/t/nixpkgs-supply-chain-security-project/34345
- discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017/26
- github.com/NixOS/nix/issues/969
- github.com/NixOS/ofborg/issues/68#issuecomment-2082789441
- nvd.nist.gov/vuln/detail/CVE-2024-36050
- cve.org/CVERecord?id=CVE-2024-36050
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.