CVE-2024-48991
JSON

7.8high

Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by winning a race conditio…

Severity
7.8high CVSS:3.1 by canonical
Exploit likelihood
6.07% (higher than 93% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
canonical

Description

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).

Affected

Product or packageVersionsReported by
needrestartbefore 3.8CVE List
needrestart_project needrestartbefore 3.8CVE List, NVD

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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).

NVD (es)

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).

References

Sources

SourceRecordLicence
CVE ListCVE-2024-48991 changed 2025-11-03CVE Terms of Use
NVDCVE-2024-48991 changed 2026-06-17Public domain