Vulnerability in Needrestart
CVE-2024-48991
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.061 · 93.5th percentile
- Published
- 2024-11-19
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).
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.061, 93.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Needrestart — versions 0
- Needrestart Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (pawan-shivarkar/List-of-CVE-s-, pawan-shivarkar/pawan-shivarkar). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.cve.org/CVERecord (issue-tracking, VDB Entry)
- github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59 (Patch, patch)
- github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fd56d (Patch, patch)
- www.qualys.com/2024/11/19/needrestart/needrestart.txt (Third Party Advisory, third-party-advisory)
- seclists.org/fulldisclosure/2024/Nov/17
- www.openwall.com/lists/oss-security/2024/11/30/4 (Mailing List)
- lists.debian.org/debian-lts-announce/2024/11/msg00014.html
- www.openwall.com/lists/oss-security/2024/11/19/1 (Mailing List)