Vulnerability · Published May 17, 2022 · Assigned by mitre
CVE-2022-30688
High 7.8
In plain English
A high-severity security flaw in the needrestart package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.4%top 66.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | needrestart | 3.6-1 | DEBIAN-CVE-2022-30688 |
| Debian:13 | needrestart | 3.6-1 | DEBIAN-CVE-2022-30688 |
| Debian:14 | needrestart | 3.6-1 | DEBIAN-CVE-2022-30688 |
| Ubuntu:22.04:LTS | needrestart | 3.5-5ubuntu2.1 | USN-5426-1 |
| Ubuntu:22.04:LTS | needrestart | 3.5-5ubuntu2.1 | UBUNTU-CVE-2022-30688 |
Affected products (as reported)
References
- https://github.com/liske/needrestart/releases/tag/v3.6 x_refsource_MISC
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 x_refsource_MISC
- https://lists.debian.org/debian-security-announce/2022/msg00105.html x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2022/05/17/9 x_refsource_MISC
- [oss-security] 20220517 CVE-2022-30688: needrestart 0.8+ local privilege escalation mailing-list, x_refsource_MLIST
- DSA-5137 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20220518 [SECURITY] [DLA 3013-1] needrestart security update mailing-list, x_refsource_MLIST
- http://seclists.org/fulldisclosure/2024/Nov/17
- http://seclists.org/fulldisclosure/2024/Nov/15