CVEvulnerability

CVE-2025-32438

8.8 HIGH Published 2025-04-15 Modified 2026-06-17 Official page ↗
Status
Deferred
Published
2025-04-15
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-378, CWE-379

Description

make-initrd-ng is a tool for copying binaries and their dependencies. Local privilege escalation affecting all NixOS users. With systemd.shutdownRamfs.enable enabled (the default) a local user is able to create a program that will be executed by root during shutdown. Patches exist for NixOS 24.11 and 25.05 / unstable. As a workaround, set systemd.shutdownRamfs.enable = false;.

Related

Weakness · CWE (2)

  • CWE-378 Creation of Temporary File With Insecure Permissions weakness
  • CWE-379 Creation of Temporary File in Directory with Insecure Permissions weakness

References