CVE-2022-30688

Summary

CVECVE-2022-30688
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-05-17 19:15:00 UTC
Updated2023-08-08 14:22:00 UTC
Descriptionneedrestart 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.

Risk And Classification

Problem Types: NVD-CWE-Other

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Needrestart Project Needrestart All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 3013-1] needrestart security update MLIST lists.debian.org
oss-security - CVE-2022-30688: needrestart 0.8+ local privilege escalation MISC www.openwall.com
[Interp] CVE-2022-30688: Anchor interpreter regex to prevent local pr… · liske/needrestart@e6e5813 · GitHub MISC github.com
[SECURITY] [DSA 5137-1] needrestart security update MISC lists.debian.org
oss-security - CVE-2022-30688: needrestart 0.8+ local privilege escalation MLIST www.openwall.com
Release v3.6 · liske/needrestart · GitHub MISC github.com
Debian -- Security Information -- DSA-5137-1 needrestart DEBIAN www.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179295 Debian Security Update for needrestart (DLA 3013-1)
  • 179297 Debian Security Update for needrestart (DSA 5137-1)
  • 183191 Debian Security Update for needrestart (CVE-2022-30688)
  • 198792 Ubuntu Security Notification for needrestart Vulnerability (USN-5426-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report