CVE-2022-30688 The advisory has been revoked - it doesn't affect any version of package needrestart  (opens in a new tab)


Threat Intelligence

EPSS
0.41% (34th 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-UBUNTU1604-NEEDRESTART-15250587
  • published9 Feb 2026
  • disclosed17 May 2022

Introduced: 17 May 2022

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

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:16.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream needrestart package and not the needrestart package as distributed by Ubuntu.

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.