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.

Project Subscriptions

Vendors Products
Debian Linux Subscribe
Needrestart Project Subscribe
Needrestart Subscribe
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, 03 Nov 2025 22:30:00 +0000


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

Type Values Removed Values Added
Metrics epss

{'score': 0.00119}

epss

{'score': 0.00094}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-03T21:46:15.566Z

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

Link: CVE-2022-30688

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2025-11-03T22:15:58.290

Link: CVE-2022-30688

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses