Vulnerability 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.
CVSS Score
LOW
Related Weaknesses (CWE)
References
- https://github.com/NixOS/nix/pull/10501
- https://github.com/NixOS/nix/security/advisories/GHSA-q82p-44mg-mgh5
- https://github.com/NixOS/nix/pull/10501
- https://github.com/NixOS/nix/security/advisories/GHSA-q82p-44mg-mgh5
FAQ
What is CVE-2024-38531?
CVE-2024-38531 is a vulnerability with a CVSS score of 3.6 (LOW). 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. ...
How severe is CVE-2024-38531?
CVE-2024-38531 has been rated LOW with a CVSS base score of 3.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-38531?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.