High severity7.8NVD Advisory· Published May 17, 2022· Updated Jun 17, 2026
CVE-2022-30688
CVE-2022-30688
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2(expand)+ 1 more
- (no CPE)
- (no CPE)range: <3.6
Patches
Vulnerability mechanics
References
9- github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30nvdPatchThird Party Advisory
- www.openwall.com/lists/oss-security/2022/05/17/9nvdMailing ListThird Party Advisory
- github.com/liske/needrestart/releases/tag/v3.6nvdRelease NotesThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/05/msg00024.htmlnvdMailing ListThird Party Advisory
- lists.debian.org/debian-security-announce/2022/msg00105.htmlnvdMailing ListThird Party Advisory
- www.debian.org/security/2022/dsa-5137nvdThird Party Advisory
- www.openwall.com/lists/oss-security/2022/05/17/9nvdMailing ListThird Party Advisory
- seclists.org/fulldisclosure/2024/Nov/15nvd
- seclists.org/fulldisclosure/2024/Nov/17nvd
News mentions
0No linked articles in our index yet.