Description
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.
Published: 2022-05-17
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

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
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}


Subscriptions

Debian Debian Linux
Needrestart Project Needrestart
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