Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2024-38531

Nix sandbox escape

Low3.6EPSS 0.14%
Published
Updated
Reserved
Assigned by
GitHub_M

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.

Scores

CVSS scores of CVE-2024-38531, by who scored it
Scored byCVSSScoreVector
GitHub_MCNA (assigner)3.1Low3.6CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
NVDNVD · Deferred3.1Low3.6CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS (exploitation in 30 days)
0.14% · top 96% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.6.

Weakness

Affected products

  • NixOS · nix

    • affected >= 2.23.0, < 2.23.1
    • affected >= 2.22.0, < 2.22.2
    • affected >= 2.21.0, < 2.21.3
    • affected >= 2.20.0, < 2.20.7
    • affected >= 2.19.0, < 2.19.5
    • affected >= 2.18.0, < 2.18.4

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

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

Record last updated .