{"id":"CVE-2025-32438","summary":"Local privilege escalation in make-initrd-ng","details":"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;.","aliases":["GHSA-m7pq-h9p4-8rr4"],"modified":"2026-08-12T03:51:12.800724241Z","published":"2025-04-15T19:57:04.668Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"b17590193d8e5697000c23c66afcf11e1753734d"},{"fixed":"fbf76bf72b161b9f4ab97704a8258776d5f3ffba"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-378","CWE-379"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32438.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32438.json"},{"type":"ADVISORY","url":"https://github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32438"},{"type":"FIX","url":"https://github.com/NixOS/nixpkgs/commit/b17590193d8e5697000c23c66afcf11e1753734d"},{"type":"FIX","url":"https://github.com/NixOS/nixpkgs/commit/fbf76bf72b161b9f4ab97704a8258776d5f3ffba"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nixos/nixpkgs","events":[{"introduced":"0"},{"fixed":"b17590193d8e5697000c23c66afcf11e1753734d"},{"fixed":"fbf76bf72b161b9f4ab97704a8258776d5f3ffba"}],"database_specific":{"source":"REFERENCES"}}],"versions":["branch-off-24.11","24.11-beta","24.11","24.11-pre","24.05-pre","23.11-beta","23.11-pre","23.05-pre","21.11-pre","18.09-beta","18.03-beta","v208","v206","v192","15.09-beta","0.14","0.13","0.4","0.3","0.2","0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32438.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}