CVE-2022-30688
HIGH
Published May 17, 20224y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
Published May 17, 2022 4y ago
Last Modified Jun 17, 2026 1w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
No Known Exploit
Patch Available
Affected Products 4
| Vendor | Product | Version | Range |
|---|---|---|---|
| needrestart_project | needrestart | * | ≥0.8 – <3.6 |
| debian | debian_linux | 9.0 | any |
| debian | debian_linux | 10.0 | any |
| debian | debian_linux | 11.0 | any |
References 9
- seclists.org http://seclists.org/fulldisclosure/2024/Nov/15
- seclists.org http://seclists.org/fulldisclosure/2024/Nov/17
- openwall.com http://www.openwall.com/lists/oss-security/2022/05/17/9
- github.com https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
- github.com https://github.com/liske/needrestart/releases/tag/v3.6
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html
- lists.debian.org https://lists.debian.org/debian-security-announce/2022/msg00105.html
- debian.org https://www.debian.org/security/2022/dsa-5137
- openwall.com https://www.openwall.com/lists/oss-security/2022/05/17/9
Remediation
- github.com https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30