NetSight
high7.8

CVE-2022-30688

needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation.

Impact

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.

Affected products

VendorProductAffected versions
Needrestart ProjectNeedrestart
from 0.8 before 3.6
DebianDebian Linux
Versions 9.0, 10.0, 11.0

References