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;.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4
Patch x_refsource_misc
https://github.com/NixOS/nixpkgs/commit/b17590193d8e5697000c23c66afcf11e1753734d
Patch x_refsource_misc
https://github.com/NixOS/nixpkgs/commit/fbf76bf72b161b9f4ab97704a8258776d5f3ffba
Scores
CVSS v3
8.8
EPSS
0.0006
EPSS Percentile
19.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-378
CWE-379
Status
published
Products (2)
NixOS/nixpkgs
< b17590193d8e5697000c23c66afcf11e1753734d
NixOS/nixpkgs
< fbf76bf72b161b9f4ab97704a8258776d5f3ffba
Published
Apr 15, 2025
Tracked Since
Feb 18, 2026