CVE-2024-48991
Reported by canonical · Published November 19, 2024
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| needrestart | needrestart_project | 3.8 |
| needrestart | needrestart | 3.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| needrestart | needrestart | 0 |
| needrestart | needrestart | 0 |
| needrestart_project | needrestart | 0 |
Timeline
- Nov 19, 2024 Coalition ESS Score (15 in total, the first dated here)
- Nov 19, 2024 CVE Published
- Nov 20, 2024 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 PoC Published (9 in total, the first dated here)
- Jun 2, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-48991
vulnetix vdb fixes CVE-2024-48991
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-48991/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- issue-tracking
- patch
- patch
- third-party-advisory
- http://www.openwall.com/lists/oss-security/2024/11/30/4 url
- https://www.openwall.com/lists/oss-security/2024/11/19/1 url
- http://seclists.org/fulldisclosure/2024/Nov/17 url
- https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html advisory