CVE-2022-30688 Affecting needrestart package, versions <3.4-6ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (6th 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-UBUNTU2004-NEEDRESTART-2833306
  • published18 May 2022
  • disclosed17 May 2022

Introduced: 17 May 2022

CVE-2022-30688  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 needrestart to version 3.4-6ubuntu0.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 Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation. Regexes to detect the Perl, Python, and Ruby interpreters are not anchored, allowing a local user to escalate privileges when needrestart tries to detect if interpreters are using old source files.

CVSS Scores

version 3.1