CVE Database
/

CVE-2024-38531

Back to search

CVE-2024-38531

Published: Jun 28, 2024

Modified: Aug 2, 2024

PUBLISHED

CVSS v3.1

3.6

LOW

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.

VendorProductVersions

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

+1 more versions

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

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

Attack Vector

Local

Attack Complexity

High

Privileges Required

Low

User Interaction

None

Scope

Unchanged

Confidentiality

None

Integrity

Low

Availability

Low

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now