CVE-2024-38531

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.
Configurations

No configuration.

History

21 Nov 2024, 09:26

Type Values Removed Values Added
References () https://github.com/NixOS/nix/pull/10501 - () https://github.com/NixOS/nix/pull/10501 -
References () https://github.com/NixOS/nix/security/advisories/GHSA-q82p-44mg-mgh5 - () https://github.com/NixOS/nix/security/advisories/GHSA-q82p-44mg-mgh5 -

01 Jul 2024, 12:37

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-28 14:15

Updated : 2024-11-21 09:26


NVD link : CVE-2024-38531

Mitre link : CVE-2024-38531

CVE.ORG link : CVE-2024-38531


JSON object : View

Products Affected

No product.

CWE
CWE-278

Insecure Preserved Inherited Permissions