{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-38531","published":"2024-06-28T14:15:03.293000Z","last_modified":"2026-06-17T07:40:28.927000Z","status":"Deferred","cvss":{"version":"3.1","score":3.6,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-278"],"cpes":[],"cpes_truncated":false,"vendors":["nixos"],"products":["nixos/nix"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.002,"percentile":0.05592,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"low","priority_score":22,"links":{"html_es":"/es/cve/CVE-2024-38531/","html_en":"/en/cve/CVE-2024-38531/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-38531","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-38531"},"untrusted":{"vendor_name":"NixOS","product_name":"nix","desc_en":"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.","affected":[{"untrusted_vendor":"NixOS","untrusted_product":"nix","versions":[]}],"references":[{"url":"https://github.com/NixOS/nix/pull/10501","tags":[]},{"url":"https://github.com/NixOS/nix/security/advisories/GHSA-q82p-44mg-mgh5","tags":[]}]}}