Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2023-22809 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
http://packetstormsecurity.com/files/171644/sudo-1.9.12p1-Privilege-Escalation.html CVEThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/172509/Sudoedit-Extra-Arguments-Privilege-Escalation.html CVEThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/174234/Cisco-ThousandEyes-Enterprise-Agent-Virtual-Appliance-Arbitrary-File-Modification.html CVEThird Party AdvisoryVDB Entry
http://seclists.org/fulldisclosure/2023/Aug/21 CVEMailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2023/01/msg00012.html CVEMailing ListThird Party Advisory

see all 28 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-269Improper Privilege Management[email protected]
CWE-269Improper Privilege ManagementCISA-ADP

Affected Products

ProductVersions
sudo project sudo
>= 1.8.0, < 1.9.12
1.9.12 -
1.9.12 p1

CPE

  • cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.9.12:-:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.9.12:p1:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
10.0
11.0

CPE

  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
36
37

CPE

  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
apple macos
< 13.4

CPE

  • cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

21 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2023-22809
NVD Published Date:
Jan 18, 2023
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2023-22809 Details - Not Deferred