CVE-2023-22809

CVE Details

Release Date:2023-01-18
Impact:None What is this?

Description


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.

See more information about CVE-2023-22809 from MITRE CVE dictionary and NIST NVD


NOTE: The following CVSS metrics and score provided are preliminary and subject to review.


CVSS v3 metrics

Base Score: 7.8
Vector String: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Version: 3.0
Attack Vector: Local
Attack Complexity: Low
Privileges Required: Low
User Interaction: None
Scope: Unchanged
Confidentiality Impact: High
Integrity Impact: High
Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 6 (sudo)ELSA-2023-121432023-02-28
Oracle Linux version 7 (sudo)ELSA-2023-02912023-01-24
Oracle Linux version 8 (sudo)ELSA-2023-02842023-01-23
Oracle Linux version 9 (sudo)ELSA-2023-02822023-01-23
Oracle VM version 3 (sudo)OVMSA-2023-00032023-03-02


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete