CVE-2024-48991

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).
Race Condition
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.8 HIGH
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
canonicalCNA
7.8 HIGH
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADPADP
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 19%
VendorProductVersion
needrestart_projectneedrestart
𝑥
< 3.8
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
needrestart
bullseye
vulnerable
bullseye (security)
3.5-4+deb11u5
fixed
bookworm
3.6-4+deb12u3
fixed
bookworm (security)
3.6-4+deb12u3
fixed
sid
3.11-1
fixed
trixie
3.11-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
needrestart
plucky
Fixed 3.6-8ubuntu6
released
oracular
Fixed 3.6-8ubuntu4.2
released
noble
Fixed 3.6-7ubuntu4.3
released
jammy
Fixed 3.5-5ubuntu2.2
released
focal
Fixed 3.4-6ubuntu0.1+esm1
released
bionic
Fixed 3.1-1ubuntu0.1+esm1
released
xenial
Fixed 2.6-1ubuntu0.1~esm1
released