VDB
CVE-2022-30688
CVE-2022-30688
PUBLISHED
Reported by mitre · Published May 17, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| needrestart | needrestart_project | 3.6 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- May 17, 2022 CVE Published
- May 18, 2022 EPSS Score (30 in total, the first dated here)
- Nov 24, 2024 PoC Published
- Nov 3, 2025 CVE Updated
- Mar 10, 2026 Distribution Patch
- Mar 10, 2026 Security Advisory (2 in total, the first dated here)
- Jun 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-30688
vulnetix vdb fixes CVE-2022-30688
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-30688/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [oss-security] 20220517 CVE-2022-30688: needrestart 0.8+ local privilege escalation mailing-listx_refsource_MLIST
- DSA-5137 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20220518 [SECURITY] [DLA 3013-1] needrestart security update mailing-listx_refsource_MLIST
- http://seclists.org/fulldisclosure/2024/Nov/17 url
- http://seclists.org/fulldisclosure/2024/Nov/15 url