CVE-2024-36050

medium

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.

References

https://github.com/NixOS/ofborg/issues/68#issuecomment-2082789441

https://github.com/NixOS/nix/issues/969

https://discourse.nixos.org/t/nixpkgs-supply-chain-security-project/34345

Details

Source: Mitre, NVD

Published: 2024-05-18

Updated: 2024-11-06

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 4.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Severity: Medium