CVE & CISA-KEV Catalog

CVE-2022-30688

HIGH
7.8
CVSS v3
NVD

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.

How to fix

Remediation Available
needrestartDebian
Fixed in:3.5-4+deb11u1CVE-2022-30688
Fixed in:3.6-1CVE-2022-30688
Fixed in:3.6-1CVE-2022-30688
Fixed in:3.6-1CVE-2022-30688
needrestartUbuntu
Fixed in:3.1-1ubuntu0.1USN-5426-1
Fixed in:3.4-6ubuntu0.1USN-5426-1
Fixed in:3.5-5ubuntu2.1USN-5426-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.40%probability of exploitation in 30 days
32ndpercentile

Low risk: more likely to be exploited than 32% of all known CVEs.

References

Embed a live status badge for CVE-2022-30688
CVE-2022-30688 severity badge

Markdown

[![CVE-2022-30688](https://tridentstack.com/cve/badge/CVE-2022-30688.svg)](https://tridentstack.com/cve/CVE-2022-30688)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-30688"><img src="https://tridentstack.com/cve/badge/CVE-2022-30688.svg" alt="CVE-2022-30688"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.