CVE-2024-11003: OS Command Injection

Published Nov 19, 2024
·
Updated

Last updated 20 November 2024

Other sources

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.

— NVD

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

— Launchpad

Affected Software

5 affected componentsFixes available
Needrestart Project Needrestart<3.8
debian/needrestart<3.6-4+deb12u2
3.6-4+deb12u2
debian/needrestart<3.7-3.1
3.7-3.1
debian/needrestart<3.7-3.1
3.7-3.1
debian/needrestart
3.6-4+deb12u33.11-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/needrestart to a version that resolves this vulnerability.

    Fixed in 3.6-4+deb12u2
  2. Upgrade

    Upgrade debian/needrestart to a version that resolves this vulnerability.

    Fixed in 3.7-3.1
  3. Upgrade

    Upgrade debian/needrestart to a version that resolves this vulnerability.

    Fixed in 3.6-4+deb12u3Fixed in 3.11-1
  4. Configuration

    Edit /etc/needrestart/needrestart.conf so that $nrconf{interpscan} = 0; appears after "# Disable interpreter scanners."

    needrestart $nrconf{interpscan} = 0
  5. Operational

    Reboot the system after editing /etc/needrestart/needrestart.conf

Event History

Nov 19, 2024
CVE Published
via MITRE·05:36 PM
Data Sourced
via MITRE·05:36 PM
DescriptionSeverity
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Nov 20, 2024
News Published
via BleepingComputer·07:04 PM
Nov 21, 2024
News Published
via The Register·03:03 PM
Feb 12, 2026
Exploit Published
via GitHub·07:20 PM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-11003?

CVE-2024-11003 is considered a high severity vulnerability due to its potential for local attackers to execute arbitrary shell commands.

2

How do I fix CVE-2024-11003?

To fix CVE-2024-11003, upgrade to needrestart version 3.8 or above.

3

What versions of needrestart are affected by CVE-2024-11003?

CVE-2024-11003 affects needrestart versions prior to 3.8, specifically 3.5-4+deb11u3, 3.6-4+deb12u1, and 3.7-3.1.

4

Who discovered CVE-2024-11003?

CVE-2024-11003 was discovered by the security firm Qualys.

5

What types of attacks can CVE-2024-11003 enable?

CVE-2024-11003 can enable local attackers to execute arbitrary shell commands through unsanitized input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203