UBUNTU-CVE-2023-22809
Dashboard / Vulnerabilities / UBUNTU-CVE-2023-22809
UBUNTU-CVE-2023-22809
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.
References: https://ubuntu.com/security/CVE-2023-22809, https://ubuntu.com/security/notices/USN-5811-1, https://ubuntu.com/security/notices/USN-5811-2, https://ubuntu.com/security/notices/USN-5811-3, https://www.cve.org/CVERecord?id=CVE-2023-22809
Affected packages
Package
Name: sudo
Purl: pkg:deb/ubuntu/[email protected]+esm7?arch=source&distro=trusty/esm
Affected ranges
Type: ECOSYSTEM
Events:
