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

2 affected componentsFixes available
debian/needrestart<=3.5-4+deb11u3, <=3.6-4+deb12u1
3.5-4+deb11u43.6-4+deb12u23.7-3.1
Needrestart Project Needrestart<3.8

Remediation

Mitigation

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

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
DescriptionSeverity
Data Sourced
via NVD·06:15 PM
RemedyWeaknessAffected Software
Data Sourced
via Launchpad·07:23 PM
Description
Nov 20, 2024
News Published
via BleepingComputer·07:04 PM
News Published
via BleepingComputer·07:05 PM
Nov 21, 2024
News Published
via The Register·03:03 PM
News Published
via The Register·03:06 PM
Nov 23, 2024
Data Sourced
via Ubuntu·07:22 PM
RemedyDescriptionSeverityAffected Software

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