CVE-2022-30688

Published May 17, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 3, 2025, 9:46 PM
Reserved
May 13, 2022, 12:00 AM
Status
Modified
Published
May 17, 2022, 7:15 PM
Modified
Jun 17, 2026, 4:44 AM