CVE-2024-48990 Affecting needrestart package, versions <3.6-8ubuntu6


Severity

Recommended
high

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
21.27% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2504-NEEDRESTART-9792323
  • published23 Apr 2025
  • disclosed19 Nov 2024

Introduced: 19 Nov 2024

CVE-2024-48990  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.04 needrestart to version 3.6-8ubuntu6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream needrestart package and not the needrestart package as distributed by Ubuntu. See How to fix? for Ubuntu:25.04 relevant fixed versions and status.

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.