{
  "cveId": "CVE-2024-38531",
  "url": "https://patchblox.com/security/cve/CVE-2024-38531",
  "summary": "CVE-2024-38531 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2024-38531, released June 28, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "nix: Nix is a package manager for Linux and other Unix systems that makes package management reliable and reproducible",
  "description": "Nix is a package manager for Linux and other Unix systems that makes package management reliable and reproducible. A build process has access to and can change the permissions of the build directory. After creating a setuid binary in a globally accessible location, a malicious local user can assume the permissions of a Nix daemon worker and hijack all future builds. This issue was patched in version(s) 2.23.1, 2.22.2, 2.21.3, 2.20.7, 2.19.5 and 2.18.4.",
  "published": "2024-06-28T07:15:00Z",
  "severity": "low",
  "cvss": 3.6,
  "cvssVector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L",
  "epss": 0.00143,
  "epssPercentile": 0.03666,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "nix",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "2.23.3\u002Bdfsg-1",
      "fix": "DEBIAN-CVE-2024-38531",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-38531",
      "released": "2024-06-28T14:15:03Z"
    },
    {
      "platform": "linux",
      "product": "nix",
      "release": "Debian 14",
      "fixedVersion": "2.23.3\u002Bdfsg-1",
      "fix": "DEBIAN-CVE-2024-38531",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-38531",
      "released": "2024-06-28T14:15:03Z"
    },
    {
      "platform": "linux",
      "product": "nix-bin",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.6.0\u002Bdfsg-3ubuntu0.1~esm1",
      "fix": "nix-bin 2.6.0\u002Bdfsg-3ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-nix-bin-2.6.0-dfsg-3ubuntu0.1-esm1",
      "released": "2024-09-26T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nix-bin",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.18.1\u002Bdfsg-1ubuntu5\u002Besm2",
      "fix": "nix-bin 2.18.1\u002Bdfsg-1ubuntu5\u002Besm2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-nix-bin-2.18.1-dfsg-1ubuntu5-esm2",
      "released": "2024-09-26T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nix-setup-systemd",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.6.0\u002Bdfsg-3ubuntu0.1~esm1",
      "fix": "nix-setup-systemd 2.6.0\u002Bdfsg-3ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-nix-setup-systemd-2.6.0-dfsg-3ubuntu0.1-esm1",
      "released": "2024-09-26T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nix-setup-systemd",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.18.1\u002Bdfsg-1ubuntu5\u002Besm2",
      "fix": "nix-setup-systemd 2.18.1\u002Bdfsg-1ubuntu5\u002Besm2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-nix-setup-systemd-2.18.1-dfsg-1ubuntu5-esm2",
      "released": "2024-09-26T11:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}