Skip to content

CVE-2024-48990 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...

HighCVSS 7.8 EPSS 29.2% Framework module
Published
Updated
Exploit status
Public exploit available

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

ProductAffected versionsFixed in
debian/needrestart(Debian:12) < 3.6-4+deb12u2 3.6-4+deb12u2
debian/needrestart(Debian:12) = 3.6-4 No fix listed
debian/needrestart(Debian:12) = 3.6-4+deb12u1 No fix listed
debian/needrestart(Debian:13) < 3.7-3.1 3.7-3.1
debian/needrestart(Debian:14) < 3.7-3.1 3.7-3.1
ubuntu/needrestart(Ubuntu:22.04) < 3.5-5ubuntu2.2 3.5-5ubuntu2.2
needrestart < 3.8 3.8
needrestart project needrestart < 3.8 3.8
ubuntu/needrestart(Ubuntu:24.04) < 3.6-7ubuntu4.3 3.6-7ubuntu4.3

References