SB20241031112 - Execution with unnecessary privileges in nix
Published: October 31, 2024 Updated: April 8, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Execution with unnecessary privileges (CVE-ID: CVE-2024-51481)
CWE-ID: CWE-250 - Execution with Unnecessary Privileges
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a local user to read and modify files outside of the sandbox.
The vulnerability exists due to improper sandbox enforcement in built-in builders when executing built-in builders such as builtin:fetchurl on macOS. A local user can invoke a built-in builder to read and modify files outside of the sandbox.
On affected systems, built-in builders also had permission to create new paths in the Nix store.
Remediation
Install update from vendor's website.