Vulnerabilities

CVE-2024-48990

High 7.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-11-19
Last modified
2026-06-17
Assigned by
security@ubuntu.com
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
security@ubuntu.com
Probability of exploitation
19.9 % higher than 97 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Needrestart Project Needrestart < 3.8 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1574.001: DLL stealth, execution
  • T1574.004: Dylib Hijacking stealth, execution
  • T1574.007: Path Interception by PATH Environment Variable stealth, execution
  • T1574.008: Path Interception by Search Order Hijacking stealth, execution
  • T1574.009: Path Interception by Unquoted Path stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities