CVE-2024-48991 Affecting needrestart package, versions <3.7-3.1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
6.02% (94th 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-DEBIAN14-NEEDRESTART-11761461
  • published10 Aug 2025
  • disclosed19 Nov 2024

Introduced: 19 Nov 2024

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

How to fix?

Upgrade Debian:14 needrestart to version 3.7-3.1 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 Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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