{"id":"CVE-2024-38531","published":"2024-06-28T13:18:58Z","modified":"2024-08-02T04:12:25Z","title":"Nix sandbox escape","vendor":"NixOS","product":"nix","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.6,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00143,"percentile":0.03712,"provenance":"source"},"cwes":[{"id":"CWE-278","name":"Insecure Preserved Inherited Permissions"}],"references":[{"url":"https://github.com/NixOS/nix/security/advisories/GHSA-q82p-44mg-mgh5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NixOS/nix/pull/10501","tags":["x_refsource_MISC"]}],"priority":{"score":3.3,"factors":[{"name":"EPSS percentile","points":0.74},{"name":"CVSS severity","points":2.52}]},"vendorSlug":"nixos","affectedVersions":[{"vendor":"NixOS","product":"nix","versions":[">= 2.23.0, < 2.23.1",">= 2.22.0, < 2.22.2",">= 2.21.0, < 2.21.3",">= 2.20.0, < 2.20.7",">= 2.19.0, < 2.19.5",">= 2.18.0, < 2.18.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-05T15:26:22.607904Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37395","exploited":false,"provenance":"source"}}