CVEfocus › CVE database › CVE-2024-11003

CVE-2024-11003

CVSS 7.8 HighEPSS 1.0% (higher than 62% of CVEs)Published 2024-11-19Updated 2025-11-03Assigner: canonical

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.

CWE-78

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04needrestartFixed3.6-7ubuntu4.3UBUNTU-CVE-2024-11003
Ubuntu 22.04needrestartFixed3.5-5ubuntu2.2UBUNTU-CVE-2024-11003
Ubuntu 20.04needrestartFix pending3.4-6ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-11003
Ubuntu 18.04needrestartFix pending3.1-1ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-11003
Ubuntu 16.04needrestartFix pending2.6-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-11003
Debian 14needrestartFixed3.7-3.1DEBIAN-CVE-2024-11003
Debian 13needrestartFixed3.7-3.1DEBIAN-CVE-2024-11003
Debian 12needrestartFixed3.6-4+deb12u2DEBIAN-CVE-2024-11003

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Edit /etc/needrestart/needrestart.conf so that the following line appears after "# Disable interpreter scanners." and reboot: $nrconf{interpscan} = 0;

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.