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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-3013-1 needrestart security update
Debian DSA Debian DSA DSA-5137-1 needrestart security update
EUVD EUVD EUVD-2022-52519 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.
Ubuntu USN Ubuntu USN USN-5426-1 needrestart vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 14 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00119}

epss

{'score': 0.00094}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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 : Modified

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

Modified: 2024-11-21T07:03:10.393

Link: CVE-2022-30688

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.