{"id":"CVE-2024-48991","aliases":["CVE-2024-48991"],"related":[],"kind":"vulnerability","state":"published","title":"Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by winning a race conditio…","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"Qualys descubrió que needrestart, antes de la versión 3.8, permite a atacantes locales ejecutar código arbitrario como superusuario ganando una condición de ejecución y engañando a needrestart para que ejecute su propio intérprete de Python falso (en lugar del intérprete de Python real del sistema).","source":"nvd"}],"published":"2024-11-19T17:38:15.691Z","modified":"2026-06-17T07:59:11.903Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.8","status":"affected"}],"vendor":"needrestart","product":"needrestart","package":"needrestart","repo":"https://github.com/liske/needrestart","platforms":["Linux"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"3.8","status":"affected"}],"vendor":"needrestart_project","product":"needrestart","cpe":"cpe:2.3:a:needrestart_project:needrestart:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.8"}],"vendor":"needrestart_project","product":"needrestart","cpe":"cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2024-48991","tags":["issue-tracking","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fd56d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/11/30/4","tags":["mailing-list"],"sources":["cvelist","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2024/11/19/1","tags":["mailing-list"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2024/Nov/17","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["Qualys","Thomas Liske","Mark Esler","Salvatore Bonaccorso","Ivan Kurnosov"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-11-19T19:36:17.501Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-48991","url":"https://www.cve.org/CVERecord?id=CVE-2024-48991","licence":"CVE Terms of Use","modified":"2025-11-03T22:22:10.925Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-48991","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48991","licence":"Public domain","modified":"2026-06-17T07:59:11.903Z"}],"updatedAt":"2026-11-25T22:58:48.773Z","epss":{"score":0.06067,"percentile":0.93543,"date":"2026-12-01T12:00:22.000Z"}}