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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2022-05-17T18:58:09

Updated: 2024-08-03T06:56:13.696Z

Reserved: 2022-05-13T00:00:00

Link: CVE-2022-30688

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-05-17T19:15:08.743

Modified: 2023-08-08T14:22:24.967

Link: CVE-2022-30688

cve-icon Redhat

No data.