CVE-2024-48991 Affecting needrestart package, versions <3.6-7ubuntu4.3


Severity

Recommended
high

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.05% (18th 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-UBUNTU2404-NEEDRESTART-8384603
  • published20 Nov 2024
  • disclosed19 Nov 2024

Introduced: 19 Nov 2024

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

How to fix?

Upgrade Ubuntu:24.04 needrestart to version 3.6-7ubuntu4.3 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:24.04 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).