CVEvulnerability
CVE-2024-48991
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-11-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-362
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 configurations
• needrestart project needrestart (< 3.8)
Related
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
References
- https://github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fd56d Patch
- https://github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59 Patch
- https://www.cve.org/CVERecord?id=CVE-2024-48991 VDB Entry
- https://www.qualys.com/2024/11/19/needrestart/needrestart.txt Third Party Advisory
- http://seclists.org/fulldisclosure/2024/Nov/17 seclists.org
- http://www.openwall.com/lists/oss-security/2024/11/30/4 Mailing List
- https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html lists.debian.org
- https://www.openwall.com/lists/oss-security/2024/11/19/1 Mailing List