CVE-2025-32438
Local privilege escalation in make-initrd-ng
Severity Score
8.8
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
Track*
*SSVC
Descriptions
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;.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Track*
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2025-04-08 CVE Reserved
- 2025-04-15 CVE Published
- 2025-04-15 CVE Updated
- 2025-04-21 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-378: Creation of Temporary File With Insecure Permissions
- CWE-379: Creation of Temporary File in Directory with Insecure Permissions
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/NixOS/nixpkgs/commit/b17590193d8e5697000c23c66afcf11e1753734d | X_refsource_misc | |
https://github.com/NixOS/nixpkgs/commit/fbf76bf72b161b9f4ab97704a8258776d5f3ffba | X_refsource_misc | |
https://github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4 | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
NixOS Search vendor "NixOS" | Nixpkgs Search vendor "NixOS" for product "Nixpkgs" | < Search vendor "NixOS" for product "Nixpkgs" and version " < " | en |
Affected
| ||||||
NixOS Search vendor "NixOS" | Nixpkgs Search vendor "NixOS" for product "Nixpkgs" | < Search vendor "NixOS" for product "Nixpkgs" and version " < " | en |
Affected
|