CVE-2024-38531

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38531
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38531.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38531
Aliases
  • GHSA-q82p-44mg-mgh5
Related
Published
2024-06-28T14:15:03Z
Modified
2024-09-18T03:27:14.456772Z
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / nix

Package

Name
nix
Purl
pkg:deb/debian/nix?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.3.7+dfsg1-1
2.3.10+dfsg1-1
2.6.0+dfsg-1
2.6.0+dfsg-2
2.6.0+dfsg-3
2.7.0+dfsg-1
2.7.0+dfsg-2
2.7.0+dfsg-3
2.7.0+dfsg-4
2.7.0+dfsg-5
2.8.0-1
2.8.0-1.1
2.16.1+dfsg-1
2.16.1+dfsg-2
2.16.1+dfsg-3
2.17.1+dfsg-1
2.18.1+dfsg-1
2.22.1+dfsg-1
2.23.3+dfsg-1
2.23.3+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / nix

Package

Name
nix
Purl
pkg:deb/debian/nix?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.8.0-1.1
2.16.1+dfsg-1
2.16.1+dfsg-2
2.16.1+dfsg-3
2.17.1+dfsg-1
2.18.1+dfsg-1
2.22.1+dfsg-1
2.23.3+dfsg-1
2.23.3+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / nix

Package

Name
nix
Purl
pkg:deb/debian/nix?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.23.3+dfsg-1

Affected versions

2.*

2.8.0-1.1
2.16.1+dfsg-1
2.16.1+dfsg-2
2.16.1+dfsg-3
2.17.1+dfsg-1
2.18.1+dfsg-1
2.22.1+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}