CVE-2024-48991: Race Condition

Published Nov 19, 2024
·
Updated

Last updated 22 November 2024

Other sources

Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by winning a race condition and tricking needrestart into running their own, fake Python interpreter (instead of the system's real Python interpreter).

— 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 set $nrconf{interpscan} = 0; after the '# Disable interpreter scanners.' comment.

    needrestart $nrconf{interpscan} = 0
  5. Operational

    Reboot the system after changing the needrestart configuration.

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

CVE-2024-48991 is considered a critical vulnerability due to its potential to allow local attackers to execute arbitrary code as root.

2

How do I fix CVE-2024-48991?

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

3

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

Versions of needrestart prior to 3.8, specifically those up to 3.5-4+deb11u3, 3.6-4+deb12u1, and 3.7-3.1 are affected by CVE-2024-48991.

4

Who discovered CVE-2024-48991?

CVE-2024-48991 was discovered by Qualys.

5

What type of attacks can CVE-2024-48991 facilitate?

CVE-2024-48991 can facilitate local privilege escalation attacks through a race condition.

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