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 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 4, 2025References 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-269 | Improper Privilege Management | [email protected] |
| CWE-269 | Improper Privilege Management | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| sudo project sudo | >= 1.8.0, < 1.9.12 1.9.12 - 1.9.12 p1 |
CPE
Remediation
| |
| debian debian linux | 10.0 11.0 |
CPE
Remediation
| |
| fedoraproject fedora | 36 37 |
CPE
Remediation
| |
| apple macos | < 13.4 |
CPE
Remediation
| |
Change History
21 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 4, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 17, 2023 | Modified Analysis | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Sep 6, 2023 | CVE Modified | [email protected] |
| Aug 18, 2023 | CVE Modified | [email protected] |
| Aug 17, 2023 | CVE Modified | [email protected] |
| May 23, 2023 | CVE Modified | [email protected] |
| May 3, 2023 | CVE Modified | [email protected] |
| Apr 3, 2023 | CVE Modified | [email protected] |
| Feb 5, 2023 | CVE Modified | [email protected] |
| Jan 31, 2023 | Modified Analysis | [email protected] |
| Jan 27, 2023 | CVE Modified | [email protected] |
| Jan 26, 2023 | Initial Analysis | [email protected] |
| Jan 22, 2023 | CVE Modified | [email protected] |
| Jan 19, 2023 | CVE Modified | [email protected] |
| Jan 19, 2023 | CVE Modified | [email protected] |
| Jan 18, 2023 | CVE Modified | [email protected] |