CVE-2024-48991

high

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).

References

https://www.bleepingcomputer.com/news/security/ubuntu-linux-impacted-by-decade-old-needrestart-flaw-that-gives-root/

https://thehackernews.com/2024/11/decades-old-security-vulnerabilities.html

https://www.openwall.com/lists/oss-security/2024/11/19/1

https://www.cve.org/CVERecord?id=CVE-2024-48991

https://github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59

https://github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fd56d

http://www.openwall.com/lists/oss-security/2024/11/30/4

Details

Source: Mitre, NVD

Published: 2024-11-19

Updated: 2024-12-03

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High