UBUNTU-CVE-2022-30688

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-30688

    UBUNTU-CVE-2022-30688

    Published: 17 May 2022Last Modified: 4 Feb 2026
    Upstream:
    Aliases:

    Summary:

    Details: 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

    Package

    Name: needrestart

    Purl: pkg:deb/ubuntu/[email protected]~esm3?arch=source&distro=esm-apps/xenial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    2.1-1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2022-30688 | CVE-DB