CVE-2022-30688

HIGH
7.8
CVSS Score
Published: May 17, 2022 at 06:58 PM UTC
Updated: June 17, 2026 at 04:44 AM UTC
2 products affected across 2 vendorsDebian LinuxNeedrestart

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.8 ≤ v < 3.6
Affected range stops below 3.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (9)

Mailing Listx_refsource_MLISTThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/05/17/9
x_refsource_MISCRelease NotesThird Party Advisory
https://github.com/liske/needrestart/releases/tag/v3.6
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2022/dsa-5137
x_refsource_MISCMailing ListThird Party Advisory
https://www.openwall.com/lists/oss-security/2022/05/17/9
Source: af854a3a-2127-422b-91ae-364da2661108
http://seclists.org/fulldisclosure/2024/Nov/15

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card