CVE-2024-48991
Needrestart Project Needrestart vulnerability
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 products
Needrestart. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Needrestart Project Needrestart runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fd56d · Patch
- github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59 · Patch
- www.qualys.com/2024/11/19/needrestart/needrestart.txt · Third Party Advisory
- www.cve.org/CVERecord?id=CVE-2024-48991
- seclists.org/fulldisclosure/2024/Nov/17
- www.openwall.com/lists/oss-security/2024/11/30/4
- lists.debian.org/debian-lts-announce/2024/11/msg00014.html
- www.openwall.com/lists/oss-security/2024/11/19/1
- nvd.nist.gov/vuln/detail/CVE-2024-48991
- cve.org/CVERecord?id=CVE-2024-48991
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.