CVE-2024-48991 Affecting needrestart package, versions <3.6-8ubuntu4.2


Severity

Recommended
high

Based on Ubuntu security rating.

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-UBUNTU2410-NEEDRESTART-8384604
  • published20 Nov 2024
  • disclosed19 Nov 2024

Introduced: 19 Nov 2024

NewCVE-2024-48991  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade Ubuntu:24.10 needrestart to version 3.6-8ubuntu4.2 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.10 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).