UBUNTU-CVE-2023-22809

    Dashboard / Vulnerabilities / UBUNTU-CVE-2023-22809

    UBUNTU-CVE-2023-22809

    Published: 18 Jan 2023Last Modified: 4 Feb 2026

    Summary:

    Details: In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may contain a "--" argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.

    Affected packages

    Package

    Name: sudo

    Purl: pkg:deb/ubuntu/[email protected]+esm7?arch=source&distro=trusty/esm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.8.9p5-1ubuntu1.5+esm7

    Affected versions

    1.8.6p3-0ubuntu3
    1.8.8-2ubuntu1
    1.8.8-2ubuntu2
    1.8.9p4-1ubuntu1
    1.8.9p4-1ubuntu2
    1.8.9p5-1ubuntu1
    1.8.9p5-1ubuntu1.1
    1.8.9p5-1ubuntu1.2
    1.8.9p5-1ubuntu1.3
    1.8.9p5-1ubuntu1.4
    1.8.9p5-1ubuntu1.5+esm1
    1.8.9p5-1ubuntu1.5+esm2
    1.8.9p5-1ubuntu1.5+esm3
    1.8.9p5-1ubuntu1.5+esm5
    1.8.9p5-1ubuntu1.5+esm6

    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-2023-22809 | CVE-DB