{"id":"CVE-2025-32438","state":"PUBLISHED","title":"Local privilege escalation in make-initrd-ng","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;.","publishedAt":"2025-04-15T19:57:04.668Z","updatedAt":"2025-04-15T20:08:58.816Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["NixOS nixpkgs"],"affected":[{"vendor":"NixOS","product":"nixpkgs","versions":[{"version":"< b17590193d8e5697000c23c66afcf11e1753734d","status":"affected"},{"version":"< fbf76bf72b161b9f4ab97704a8258776d5f3ffba","status":"affected"}]}],"references":["https://github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4","https://github.com/NixOS/nixpkgs/commit/b17590193d8e5697000c23c66afcf11e1753734d","https://github.com/NixOS/nixpkgs/commit/fbf76bf72b161b9f4ab97704a8258776d5f3ffba"],"weaknesses":["CWE-378","CWE-379"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/32xxx/CVE-2025-32438.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-32438","state":"PUBLISHED","datePublished":"2025-04-15T19:57:04.668Z","dateUpdated":"2025-04-15T20:08:58.816Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-04-08T10:54:58.368Z"},"containers":{"cna":{"title":"Local privilege escalation in make-initrd-ng","descriptions":[{"lang":"en","value":"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;."}],"affected":[{"vendor":"NixOS","product":"nixpkgs","versions":[{"version":"< b17590193d8e5697000c23c66afcf11e1753734d","status":"affected"},{"version":"< fbf76bf72b161b9f4ab97704a8258776d5f3ffba","status":"affected"}]}],"references":[{"url":"https://github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4","name":"https://github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NixOS/nixpkgs/commit/b17590193d8e5697000c23c66afcf11e1753734d","name":"https://github.com/NixOS/nixpkgs/commit/b17590193d8e5697000c23c66afcf11e1753734d","tags":["x_refsource_MISC"]},{"url":"https://github.com/NixOS/nixpkgs/commit/fbf76bf72b161b9f4ab97704a8258776d5f3ffba","name":"https://github.com/NixOS/nixpkgs/commit/fbf76bf72b161b9f4ab97704a8258776d5f3ffba","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-378","lang":"en","description":"CWE-378: Creation of Temporary File With Insecure Permissions","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-379","lang":"en","description":"CWE-379: Creation of Temporary File in Directory with Insecure Permissions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-04-15T19:57:04.668Z"},"source":{"advisory":"GHSA-m7pq-h9p4-8rr4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-15T20:08:46.640080Z","id":"CVE-2025-32438","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-15T20:08:58.816Z"}}]}}}