CVE-2024-38531

LOW
Published Jun 28, 2024 Modified Apr 15, 2026 CWE-278

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 v3.1 Score

3.6
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L

Weakness Type (CWE)

CWE-278 CWE-278

References

Frequently Asked Questions

What is 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. It has a CVSS v3.1 base score of 3.6 (LOW).
How severe is CVE-2024-38531? +
CVE-2024-38531 has a CVSS v3.1 score of 3.6 out of 10, rated LOW. This is a low-severity vulnerability with limited impact.
How do I check if I'm vulnerable to CVE-2024-38531? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-38531 — free, no signup required.

Start Free Scan