---
cve: "CVE-2024-48991"
severity: "HIGH"
cvss: 7.8
epss: "5.3%"
vendor: "needrestart"
kev: false
exploited: false
published: "2024-11-19 18:15:21"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T06:29:26+02:00"
---

# CVE-2024-48991

> 7.8 HIGH · 🧪 PoC

## Beschreibung

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

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 539233750b59ed3b39cb763f5ad43243c2eaf562 (Commit)
- 42af5d328901287a4f79d1f5861ac827a53fd56d (Commit)

## Referenzen

- <https://www.cve.org/CVERecord?id=CVE-2024-48991>
- <https://github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59>
- <https://github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fd56d>
- <https://www.qualys.com/2024/11/19/needrestart/needrestart.txt>
- <http://seclists.org/fulldisclosure/2024/Nov/17>
- <http://www.openwall.com/lists/oss-security/2024/11/30/4>
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html>
- <https://www.openwall.com/lists/oss-security/2024/11/19/1>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-48991) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
