Skip to content

CVE-2024-11003 Qualys discovered that needrestart, before version 3.8, passes unsanitized data to a library (Modules::ScanDeps) which expects safe input. This could allow a local attacker to execute arbitrary shell....

HighCVSS 7.8 EPSS 12.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

Qualys discovered that needrestart, before version 3.8, passes unsanitized data to a library (Modules::ScanDeps) which expects safe input. This could allow a local attacker to execute arbitrary shell commands. Please see the related CVE-2024-10224 in Modules::ScanDeps.

Upgrade path

10 packages: 10 fixed.

PackageAffectedFixed inStatus
debian/needrestart(Debian 12) < 3.6-4+deb12u2; = 3.6-4; = 3.6-4+deb12u1 3.6-4+deb12u2 Fixed
debian/needrestart(Debian 13) < 3.7-3.1 3.7-3.1 Fixed
debian/needrestart(Debian 14) < 3.7-3.1 3.7-3.1 Fixed
needrestart < 3.8 3.8 Fixed
needrestart project needrestart < 3.8 3.8 Fixed
ubuntu/needrestart(Ubuntu 22.04) < 3.5-5ubuntu2.2; = 3.5-4ubuntu2; = 3.5-5ubuntu1; = 3.5-5ubuntu2 +1 more 3.5-5ubuntu2.2 Fixed
ubuntu/needrestart(Ubuntu 24.04) < 3.6-7ubuntu4.3; = 3.6-5; = 3.6-6; = 3.6-7 +3 more 3.6-7ubuntu4.3 Fixed
ubuntu/needrestart(Ubuntu Pro 16.04) < 2.6-1ubuntu0.1~esm1; = 2.1-1; = 2.3-2; = 2.4-1 +2 more 2.6-1ubuntu0.1~esm1 Fixed
ubuntu/needrestart(Ubuntu Pro 18.04) < 3.1-1ubuntu0.1+esm1; = 2.11-4; = 3.0-1; = 3.1-1 +1 more 3.1-1ubuntu0.1+esm1 Fixed
ubuntu/needrestart(Ubuntu Pro 20.04) < 3.4-6ubuntu0.1+esm1; = 3.4-5; = 3.4-6; = 3.4-6ubuntu0.1 3.4-6ubuntu0.1+esm1 Fixed

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
ubuntu/needrestart(Ubuntu:Pro:16.04) < 2.6-1ubuntu0.1~esm1 2.6-1ubuntu0.1~esm1
ubuntu/needrestart(Ubuntu:Pro:16.04) = 2.1-1 No fix listed
ubuntu/needrestart(Ubuntu:Pro:16.04) = 2.3-2 No fix listed
ubuntu/needrestart(Ubuntu:Pro:16.04) = 2.4-1 No fix listed
ubuntu/needrestart(Ubuntu:Pro:16.04) = 2.5-1 No fix listed
ubuntu/needrestart(Ubuntu:Pro:16.04) = 2.6-1 No fix listed
ubuntu/needrestart(Ubuntu:Pro:18.04) < 3.1-1ubuntu0.1+esm1 3.1-1ubuntu0.1+esm1
ubuntu/needrestart(Ubuntu:Pro:18.04) = 2.11-4 No fix listed
ubuntu/needrestart(Ubuntu:Pro:18.04) = 3.0-1 No fix listed
ubuntu/needrestart(Ubuntu:Pro:18.04) = 3.1-1 No fix listed
ubuntu/needrestart(Ubuntu:Pro:18.04) = 3.1-1ubuntu0.1 No fix listed
ubuntu/needrestart(Ubuntu:Pro:20.04) < 3.4-6ubuntu0.1+esm1 3.4-6ubuntu0.1+esm1
ubuntu/needrestart(Ubuntu:Pro:20.04) = 3.4-5 No fix listed
ubuntu/needrestart(Ubuntu:Pro:20.04) = 3.4-6 No fix listed
ubuntu/needrestart(Ubuntu:Pro:20.04) = 3.4-6ubuntu0.1 No fix listed
ubuntu/needrestart(Ubuntu:22.04) = 3.5-4ubuntu2 No fix listed
Show 9 more
ProductAffected versionsFixed in
ubuntu/needrestart(Ubuntu:22.04) = 3.5-5ubuntu1 No fix listed
ubuntu/needrestart(Ubuntu:22.04) = 3.5-5ubuntu2 No fix listed
ubuntu/needrestart(Ubuntu:22.04) = 3.5-5ubuntu2.1 No fix listed
ubuntu/needrestart(Ubuntu:24.04) = 3.6-5 No fix listed
ubuntu/needrestart(Ubuntu:24.04) = 3.6-6 No fix listed
ubuntu/needrestart(Ubuntu:24.04) = 3.6-7 No fix listed
ubuntu/needrestart(Ubuntu:24.04) = 3.6-7ubuntu3 No fix listed
ubuntu/needrestart(Ubuntu:24.04) = 3.6-7ubuntu4 No fix listed
ubuntu/needrestart(Ubuntu:24.04) = 3.6-7ubuntu4.1 No fix listed

References