CVE-2024-48991

7.8 HIGH
Published: November 19, 2024 Modified: November 03, 2025

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

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://www.cve.org/CVERecord?id=CVE-2024-48991
Source: security@ubuntu.com
VDB Entry
https://www.qualys.com/2024/11/19/needrestart/needrestart.txt
Source: security@ubuntu.com
Third Party Advisory
http://seclists.org/fulldisclosure/2024/Nov/17
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2024/11/30/4
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List
https://www.openwall.com/lists/oss-security/2024/11/19/1
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List

8 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.8 / 10.0
EPSS (Exploit Probability)
0.2%
48th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

needrestart_project