Read the docs
TI-2024-32666 Aliases CVE-2024-48991GHSA-4696-66c4-2gvx

Race condition in needrestart

Priority MEDIUM 45CWE-362Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

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).

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.06067 93rd percentileScored 2026-11-07
Fix Fixed needrestart (needrestart): 3.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
needrestartneedrestartbefore 3.83.8Patch availableCNA
  • needrestart Vendorneedrestart Affected before 3.8 Fixed in 3.8 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*before 3.8Vulnerableneedrestart
  • cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:* Versions before 3.8 Vulnerable ·needrestart

Remediation

  • Fix · CNA needrestart (needrestart) Fixed in 3.8

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    needrestart 3.8

    4 records Highest priority Priority MEDIUM 4 MEDIUM

    Other records, highest priority first

    • TI-2024-32665 Uncontrolled search path in needrestartPriority MEDIUM 55
    • TI-2024-10194 OS command injection in needrestartPriority MEDIUM 50
    • TI-2024-32667 Uncontrolled search path in needrestartPriority MEDIUM 47

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-48991
  2. 2026-10-03 Alias added: GHSA-4696-66c4-2gvx

References

  • TI-2024-32665 Uncontrolled search path in needrestart CVSS 3.1HIGH 7.8
  • TI-2024-10194 OS command injection in needrestart CVSS 3.1HIGH 7.8
  • TI-2024-32667 Uncontrolled search path in needrestart CVSS 3.1HIGH 7.8
  • TI-2022-12824 needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation. CVSS 3.1HIGH 7.8

Sources