CVE-2024-48992: 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 Ruby interpreter with an attacker-controlled RUBYLIB 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 and add $nrconf{interpscan} = 0; 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: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

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

CVE-2024-48992 has been classified as a high-severity vulnerability due to the potential for local attackers to execute arbitrary code as root.

2

How do I fix CVE-2024-48992?

To fix CVE-2024-48992, upgrade needrestart to version 3.8 or later.

3

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

CVE-2024-48992 affects needrestart versions prior to 3.8, specifically versions 3.5-4+deb11u4, 3.6-4+deb12u2, and 3.7-3.1.

4

Can CVE-2024-48992 be exploited remotely?

CVE-2024-48992 cannot be exploited remotely as it requires local access to the system.

5

What impact does CVE-2024-48992 have on systems?

CVE-2024-48992 allows local attackers to gain root privileges, potentially leading to full system compromise.

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