{"schemaVersion":3,"id":"CVE-2025-32438","aliases":[],"status":"published","duplicateOf":null,"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;.","dates":{"published":"2025-04-15T19:57:04.668Z","modified":"2025-04-15T20:08:58.816Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00186,"percentile":0.07773,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00186},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00186,"percentile":0.07773}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00186,"percentile":0.07773}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-378","name":"Creation of Temporary File With Insecure Permissions","description":"Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/378.html"},{"id":"CWE-379","name":"Creation of Temporary File in Directory with Insecure Permissions","description":"The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/379.html"}],"affected":[{"vendor":"nixos","product":"nixpkgs","name":"nixpkgs","label":"nixpkgs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< b17590193d8e5697000c23c66afcf11e1753734d","noFixRecorded":false,"fixedIn":null},{"text":"< fbf76bf72b161b9f4ab97704a8258776d5f3ffba","noFixRecorded":false,"fixedIn":null}],"versionsText":"< b17590193d8e5697000c23c66afcf11e1753734d | < fbf76bf72b161b9f4ab97704a8258776d5f3ffba","eol":null,"hubHref":"/vendor/nixos/nixpkgs"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4","label":"github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/NixOS/nixpkgs/commit/b17590193d8e5697000c23c66afcf11e1753734d","label":"github.com/NixOS/nixpkgs/commit/b17590193d8e5697000c23c66afcf11e1753734d","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/NixOS/nixpkgs/commit/fbf76bf72b161b9f4ab97704a8258776d5f3ffba","label":"github.com/NixOS/nixpkgs/commit/fbf76bf72b161b9f4ab97704a8258776d5f3ffba","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-04-15T19:57:04.668Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-15T20:08:58.816Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T18:02:35.847Z","stale":false,"partial":false}}