CVE-2024-48991

HIGHCVSS 7.8/10EPSS 5.29%

Last modified

CVE-2024-48991 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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). The initial security fix (6ce6136) introduced a regression which was subsequently resolved (42af5d3).. EPSS estimates a 5.29% chance of exploitation in the next 30 days.

Description

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). The initial security fix (6ce6136) introduced a regression which was subsequently resolved (42af5d3).

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
5.29%

91.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Needrestart ProjectNeedrestart< 3.8

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2024-48991?
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). The initial security fix (6ce6136) introduced a regression which was subsequently resolved (42af5d3).
How severe is CVE-2024-48991?
CVE-2024-48991 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 5.29% probability of exploitation in the next 30 days.
How do I fix CVE-2024-48991?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-48991?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST