Vulnerability in Nix 2.24

To summarize:

  • This vulnerability allows privilege escalation, so it’s serious
  • It only affects Nix 2.24.0 to 2.24.5
  • The known attack vectors are closed in Nix 2.24.6

Please excuse any delay; we will publish a post mortem once the acute situation is cleaned up.

In the meantime, if you installed or upgraded Nix recently (after 2024-08-01 and before 2024-09-10):

Lix is not affected because it was forked off Nix 2.18. The vulnerability was reported by Lix core team member @puckipedia.

Mentioned elsewhere, for reference:

20 Likes