CVE & CISA-KEV Catalog

CVE-2024-38531

LOW
3.6
CVSS v3
NVD

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.

How to fix

Remediation Available
nixDebian
Fixed in:2.23.3+dfsg-1CVE-2024-38531
Fixed in:2.23.3+dfsg-1CVE-2024-38531
nixUbuntu
Fixed in:2.6.0+dfsg-3ubuntu0.1~esm1USN-7633-1
Fixed in:2.18.1+dfsg-1ubuntu5+esm2USN-7633-1
nix-binUbuntu
Fixed in:2.6.0+dfsg-3ubuntu0.1~esm1USN-7633-1
Fixed in:2.18.1+dfsg-1ubuntu5+esm2USN-7633-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityLow

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

Exploit Intelligence

0.14%probability of exploitation in 30 days
4thpercentile

Low risk: more likely to be exploited than 4% of all known CVEs.

References

Other references2
Embed a live status badge for CVE-2024-38531
CVE-2024-38531 severity badge

Markdown

[![CVE-2024-38531](https://tridentstack.com/cve/badge/CVE-2024-38531.svg)](https://tridentstack.com/cve/CVE-2024-38531)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-38531"><img src="https://tridentstack.com/cve/badge/CVE-2024-38531.svg" alt="CVE-2024-38531"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.