{"id":"AZL-13030","summary":"CVE-2023-22809 affecting package sudo for versions less than 1.9.12p2-1","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.","modified":"2026-04-01T05:07:26.196577Z","published":"2023-01-18T17:15:10Z","upstream":["CVE-2023-22809"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22809"}],"affected":[{"package":{"name":"sudo","ecosystem":"Azure Linux:2","purl":"pkg:rpm/azure-linux/sudo"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.12p2-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-13030.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}