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 package | Versions | Reported by |
|---|---|---|
| needrestart | before 3.8 | CVE List |
| needrestart_project needrestart | before 3.8 | CVE List, NVD |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-48991 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2024-48991 changed 2026-06-17 | Public domain |