CVE-2024-48990: High severity Needrestart Project Needrestart vulnerability

Published Nov 19, 2024
·
Updated

Last updated 20 November 2024

Other sources

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.

— 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+deb12u33.11-1
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

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+deb12u3Fixed in 3.11-1
  2. Upgrade

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

    Fixed in 3.6-4+deb12u2
  3. Upgrade

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

    Fixed in 3.7-3.1
  4. Configuration

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

    needrestart $nrconf{interpscan} = 0
  5. Operational

    Reboot after editing /etc/needrestart/needrestart.conf

Event History

Nov 19, 2024
CVE Published
via MITRE·05:38 PM
Data Sourced
via MITRE·05:38 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
Nov 12, 2025
Exploit Published
via GitHub·11:22 AM

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-48990?

CVE-2024-48990 is a critical vulnerability that allows local attackers to execute arbitrary code as root.

2

How do I fix CVE-2024-48990?

To fix CVE-2024-48990, upgrade to needrestart version 3.8 or newer.

3

Who is affected by CVE-2024-48990?

CVE-2024-48990 affects needrestart versions prior to 3.8 on Debian systems.

4

What type of attack does CVE-2024-48990 involve?

CVE-2024-48990 involves local privilege escalation by tricking needrestart into executing an attacker-controlled Python interpreter.

5

When was CVE-2024-48990 discovered?

CVE-2024-48990 was disclosed on 20 November 2024 by Qualys.

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