PT-2022-20231
CVE-2022-30688
·
Published
2022-05-17
·
Updated
2023-08-08
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
needrestart versions 0.8 through 3.5 before 3.6
Description
The issue is related to local privilege escalation. Regexes used to detect Perl, Python, and Ruby interpreters are not anchored, allowing a local user to escalate privileges when needrestart checks if interpreters are using old source files.
Recommendations
For versions 0.8 through 3.5 before 3.6, update to version 3.6 or later to resolve the issue. As a temporary workaround, consider restricting the use of the regex detection feature for Perl, Python, and Ruby interpreters until a patch is available.
Found an issue in the description? Have something to add? Feel free to write us 👾