CVE-2022-30688

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductNeedrestart
PublishedMay 17, 2022
First seenMay 17, 2022

How to fix

Update
  • needrestart_project needrestart3.6 or later

Affected products

ProductAffected versionsFixed in
needrestart_project needrestart0.8 ≤ v < 3.63.6
debian debian_linux9.0, 10.0, 11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.