CVE-2024-36050
Linux Debian vulnerability analysis and mitigation

Overview

Nix through version 2.22.1 contains a vulnerability in its hash cache handling mechanism. The vulnerability (CVE-2024-36050) was disclosed in May 2024 and affects the Nix package manager. This security flaw makes it easier for attackers to replace current source code with attacker-controlled source code by manipulating maintainers into accepting malicious pull requests (NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 4.3 (MEDIUM) with the following vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N. This indicates that the vulnerability can be exploited remotely, requires low attack complexity, needs no privileges, but does require user interaction. The impact primarily affects integrity, with no direct impact on confidentiality or availability (NVD).

Impact

The vulnerability affects the integrity of source code management in Nix packages. When exploited, it allows attackers to potentially substitute legitimate source code with malicious code through the package manager's hash cache mechanism. This could lead to the distribution of compromised packages if maintainers are successfully deceived into accepting malicious changes (NVD).

Exploitability

The vulnerability requires user interaction, specifically requiring a maintainer to accept a malicious pull request. The attack vector is network-accessible, making it possible for remote attackers to attempt exploitation. As of current reports, there is no confirmation of this vulnerability being actively exploited in the wild (NVD).

Mitigation and workarounds

Currently, all versions of Nix through 2.22.1 are considered vulnerable. The issue remains unfixed in several distributions including Debian's bullseye, bookworm, sid, and trixie releases (Debian Tracker). Users and maintainers should exercise additional caution when reviewing and accepting pull requests until a patch is available.

Community reactions

The vulnerability was initially discussed in the NixOS community forums as part of broader supply chain security concerns. The discovery has led to increased attention on Nixpkgs supply chain security, with the community actively working on improving security measures (NixOS Discourse).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74733NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesAug 22, 2026
CVE-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74731NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoNoAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74729NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management