CVE catalog

CVE-2024-38531

Nix vulnerabilities

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.14% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannixsid2.34.8+dfsg-1fixed
Debiannixforky2.34.8+dfsg-1fixed
Debiannixtrixie2.26.3+dfsg-1fixed
Debiannixbookworm2.8.0-1.1vulnerable
UbuntunixnobleNot reportedvulnerable
Ubuntunixnoble2.18.1+dfsg-1ubuntu5+esm2fixed
Ubuntunix-binnoble2.18.1+dfsg-1ubuntu5+esm2fixed
Ubuntunix-setup-systemdnoble2.18.1+dfsg-1ubuntu5+esm2fixed
Ubuntunixpro2.16.1+dfsg-3ubuntu1vulnerable
Ubuntunixpro2.18.1+dfsg-1ubuntu1vulnerable
Ubuntunixpro2.18.1+dfsg-1ubuntu2vulnerable
Ubuntunixpro2.18.1+dfsg-1ubuntu4vulnerable
Ubuntunixpro2.18.1+dfsg-1ubuntu5vulnerable
Ubuntunixpro2.18.1+dfsg-1ubuntu5+esm2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannixsourcesid2.23.3+dfsg-1not yet assignedNot reportedNot reported
Debiannixsourceforky2.23.3+dfsg-1not yet assignedNot reportedNot reported
Debiannixsourcetrixie2.23.3+dfsg-1not yet assignedNot reportedNot reported
Debiannixsourcebookworm(unfixed)not yet assignedNot reportedNot reported
Ubuntunixdebnoble2.18.1+dfsg-1ubuntu5+esm2Not reportedNot reportedNot reported
Ubuntunix-bindebnoble2.18.1+dfsg-1ubuntu5+esm2Not reportedNot reportedNot reported
Ubuntunix-setup-systemddebnoble2.18.1+dfsg-1ubuntu5+esm2Not reportedNot reportedNot reported
Ubuntunixdebpro2.18.1+dfsg-1ubuntu5+esm2Not reportedUBUNTU-CVE-2024-38531Not reported

Notes

[bookworm] nix: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [nix-bin]Affected

    Source package: [nix]

    Details (2)
    • 2.8.0-1.1 · arm64 · bookworm

      Affected

      usn · nix · debian · bookworm; usn · nix · debian · 12

    • 2.8.0-1.1+b1 · amd64 · bookworm

      Affected

      usn · nix · debian · bookworm; usn · nix · debian · 12

  • Source package: [nix]

    Details (2)
    • 2.8.0-1.1 · all · bookworm

      Affected

      usn · nix · debian · bookworm; usn · nix · debian · 12

    • 2.8.0-1.1 · all · bookworm

      Affected

      usn · nix · debian · bookworm; usn · nix · debian · 12

[Debian 13 (Trixie)]

  • [nix-bin]Fixed

    Source package: [nix]

    Details (2)
    • 2.26.3+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.23.3+dfsg-1

      usn · nix · debian · 13

    • 2.26.3+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.23.3+dfsg-1

      usn · nix · debian · 13

  • Source package: [nix]

    Details (2)
    • 2.26.3+dfsg-1 · all · trixie

      Fixed · Fixed: 2.23.3+dfsg-1

      usn · nix · debian · 13

    • 2.26.3+dfsg-1 · all · trixie

      Fixed · Fixed: 2.23.3+dfsg-1

      usn · nix · debian · 13

Observed:

References