Impact
A bug in Nix 2.24 prior to 2.24.6 allows a substituter or malicious user to craft a NAR that, when unpacked by Nix, causes Nix to write to arbitrary file system locations to which the Nix process has access. This will be with root permissions when using the Nix daemon.
Fix
This issue is fixed in Nix 2.24.6.
Workarounds
Only use trustworthy substituters and set the allowed-users
setting to include trusted users only.
References
N/A
Impact
A bug in Nix 2.24 prior to 2.24.6 allows a substituter or malicious user to craft a NAR that, when unpacked by Nix, causes Nix to write to arbitrary file system locations to which the Nix process has access. This will be with root permissions when using the Nix daemon.
Fix
This issue is fixed in Nix 2.24.6.
Workarounds
Only use trustworthy substituters and set the
allowed-users
setting to include trusted users only.References
N/A