CVE-2024-36050

NameCVE-2024-36050
DescriptionNix 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1072706

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nix (PTS)bullseye2.3.7+dfsg1-1vulnerable
bookworm2.8.0-1.1vulnerable
sid, trixie2.24.9+dfsg-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nixsource(unstable)(unfixed)1072706

Notes

[bookworm] - nix <postponed> (Minor issue, revisit when fixed upstream)
[bullseye] - nix <no-dsa> (Minor issue)
https://github.com/NixOS/nix/issues/969
https://github.com/NixOS/ofborg/issues/68#issuecomment-2082789441

Search for package or bug name: Reporting problems