Local Privilege Escalation Vulnerability in Needrestart by Liske
CVE-2022-30688
7.8HIGH
What is CVE-2022-30688?
The Needrestart tool versions ranging from 0.8 to 3.5 have a local privilege escalation vulnerability. This issue stems from the use of unanchored regex patterns while detecting interpreters for Perl, Python, and Ruby. A local user can exploit this flaw to gain elevated privileges on the system when Needrestart checks for outdated source files used by these interpreters. To mitigate this risk, users are advised to upgrade to version 3.6 or later, which contains security improvements addressing this vulnerability.