{
  "schema_version": "1.4.0",
  "id": "GHSA-2r8j-rf53-9g72",
  "modified": "2025-06-27T12:31:11Z",
  "published": "2024-05-19T00:30:45Z",
  "aliases": [
    "CVE-2024-36050"
  ],
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
    }
  ],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36050"
    },
    {
      "type": "WEB",
      "url": "https://github.com/NixOS/nix/issues/969"
    },
    {
      "type": "WEB",
      "url": "https://github.com/NixOS/ofborg/issues/68#issuecomment-2082789441"
    },
    {
      "type": "WEB",
      "url": "https://discourse.nixos.org/t/nixpkgs-supply-chain-security-project/34345"
    },
    {
      "type": "WEB",
      "url": "https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017/26"
    }
  ],
  "database_specific": {
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2024-05-18T22:15:07Z"
  }
}