CVE-2022-30688

HIGH
Published May 17, 20224y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
High
Find Similar
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
7.8
Exploitability
1.8
Impact
5.9
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

VendorProductVersionRange
needrestart_projectneedrestart*≥0.8  –  <3.6
debiandebian_linux9.0any
debiandebian_linux10.0any
debiandebian_linux11.0any

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
    Mailing ListThird Party Advisory
  • github.com https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
    PatchThird Party Advisory
  • github.com https://github.com/liske/needrestart/releases/tag/v3.6
    Release NotesThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html
    Mailing ListThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-security-announce/2022/msg00105.html
    Mailing ListThird Party Advisory
  • debian.org https://www.debian.org/security/2022/dsa-5137
    Third Party Advisory
  • openwall.com https://www.openwall.com/lists/oss-security/2022/05/17/9
    Mailing ListThird Party Advisory

Remediation

  • github.com https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
    PatchThird Party Advisory