Read the docs
TI-2024-32665 Aliases CVE-2024-48990GHSA-7c65-3hqv-hvmm

Uncontrolled search path in needrestart

Priority MEDIUM 55CWE-427Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-427.

Summary

Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.21269 97th 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-10194 OS command injection in needrestartPriority MEDIUM 50
    • TI-2024-32667 Uncontrolled search path in needrestartPriority MEDIUM 47
    • TI-2024-32666 Race condition in needrestartPriority MEDIUM 45

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-48990
  2. 2026-10-03 Alias added: GHSA-7c65-3hqv-hvmm

References

  • 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-2024-32666 Race condition 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