CVE-2025-32438CWE-378CWE-379

Local privilege escalation in make-initrd-ng

High · published April 15, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
7.8
In the wild
Unconfirmed
What it is

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;.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00186 · 7.8th percentile
Weaknesses
CWE-378 · Creation of Temporary File With Insecure Permissions; CWE-379 · Creation of Temporary File in Directory with Insecure Permissions
Published
2025-04-15T19:57Z
EPSS history
Timeline
  • 15 APR 19:57Z
    Local privilege escalation in make-initrd-ng
    cvelistv5