{"id":"CVE-2024-48991","details":"Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by winning a race condition and tricking needrestart into running their own, fake Python interpreter (instead of the system's real Python interpreter). The initial security fix (6ce6136) introduced a regression which was subsequently resolved (42af5d3).","modified":"2026-04-09T10:24:34.172356Z","published":"2024-11-19T18:15:21.710Z","references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2024/Nov/17"},{"type":"ADVISORY","url":"https://www.cve.org/CVERecord?id=CVE-2024-48991"},{"type":"ADVISORY","url":"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt"},{"type":"FIX","url":"https://github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fd56d"},{"type":"FIX","url":"https://github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59"},{"type":"ARTICLE","url":"https://www.openwall.com/lists/oss-security/2024/11/19/1"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2024/11/30/4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/liske/needrestart","events":[{"introduced":"0"},{"fixed":"539233750b59ed3b39cb763f5ad43243c2eaf562"},{"fixed":"42af5d328901287a4f79d1f5861ac827a53fd56d"},{"fixed":"6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.8"}]}}],"versions":["untagged-8041ea07bb5db92f7693","v0.1","v0.2","v0.3","v0.4","v0.5","v0.6","v0.7","v0.8","v0.9","v1.0","v1.1","v1.2","v2.0","v2.1","v2.10","v2.2","v2.4","v2.5","v2.6","v2.7","v2.8","v2.9","v3.0","v3.1","v3.2","v3.3","v3.4","v3.5","v3.6","v3.7"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-48991.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}