Stackurity Start free trial

CVEs / CVE-2024-48990

CVE-2024-48990: needrestart needrestart vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2024-48990

Description

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.

The CVE record, via NVD · published 19 Nov 2024 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
needrestart needrestartbefore 3.83.8
needrestart_project needrestartbefore 3.83.8

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 9 Nov 2026.

Severity

CVSS 3.17.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by the CNA ([email protected])
WeaknessCWE-427

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.