Description
Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
needrestart needrestart
0 to < 3.8affected
References
- https://www.cve.org/CVERecord?id=CVE-2024-48990 ↗
- https://github.com/liske/needrestart/commit/fcc9a4401392231bef4ef5ed026a0d7a275149ab ↗
- https://www.qualys.com/2024/11/19/needrestart/needrestart.txt ↗
- https://www.openwall.com/lists/oss-security/2024/11/19/1 ↗
- http://seclists.org/fulldisclosure/2024/Nov/17 ↗
- https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html ↗