Vulnerability 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).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Needrestart Project | Needrestart | < 3.8 |
Related Weaknesses (CWE)
References
- https://github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fPatch
- https://github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aPatch
- https://www.cve.org/CVERecord?id=CVE-2024-48991VDB Entry
- https://www.qualys.com/2024/11/19/needrestart/needrestart.txtThird Party Advisory
- http://seclists.org/fulldisclosure/2024/Nov/17
- http://www.openwall.com/lists/oss-security/2024/11/30/4Mailing List
- https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html
- https://www.openwall.com/lists/oss-security/2024/11/19/1Mailing List
FAQ
What is CVE-2024-48991?
CVE-2024-48991 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 Pytho...
How severe is CVE-2024-48991?
CVE-2024-48991 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-48991?
Check the references section above for vendor advisories and patch information. Affected products include: Needrestart Project Needrestart.