Vulnerability · Published Nov 19, 2024 · Assigned by canonical

CVE-2024-11003

High 7.8

In plain English

A high-severity OS command injection in needrestart from needrestart. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 12.0% (higher than 96% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)12.0%top 3.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12needrestart3.6-4+deb12u2DEBIAN-CVE-2024-11003
Debian:12needrestart3.6-4+deb12u2DSA-5815-1
Debian:13needrestart3.7-3.1DEBIAN-CVE-2024-11003
Debian:14needrestart3.7-3.1DEBIAN-CVE-2024-11003
Ubuntu:22.04:LTSlibmodule-scandeps-perl1.31-1ubuntu0.1USN-7117-1
Ubuntu:24.04:LTSlibmodule-scandeps-perl1.35-1ubuntu0.24.04.1USN-7117-1
Ubuntu:22.04:LTSneedrestart3.5-5ubuntu2.2USN-7117-1
Ubuntu:22.04:LTSneedrestart3.5-5ubuntu2.2UBUNTU-CVE-2024-11003
Ubuntu:24.04:LTSneedrestart3.6-7ubuntu4.3USN-7117-1
Ubuntu:24.04:LTSneedrestart3.6-7ubuntu4.3UBUNTU-CVE-2024-11003

Affected products (as reported)

VendorProductVersions
needrestart needrestart 0 – before 3.8

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References