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.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade sudo-python-pluginUpgrade sudo | Jan 25, 2023 | Jan 18, 2023 |
| Alpine Linux | — | Upgrade sudo | Aug 22, 2024 | Jan 18, 2023 |
| Amazon Linux Ami 2 | — | Upgrade sudo-develUpgrade sudoUpgrade sudo-debuginfo | Mar 7, 2023 | Jan 18, 2023 |
| Amazon_linux | — | amazon-linux-upgrade-sudo | Feb 7, 2023 | Jan 18, 2023 |
| Amazon_linux_2023 | amazon-linux-2023-upgrade-sudoamazon-linux-2023-upgrade-sudo-debuginfoamazon-linux-2023-upgrade-sudo-debugsourceamazon-linux-2023-upgrade-sudo-develamazon-linux-2023-upgrade-sudo-logsrvdamazon-linux-2023-upgrade-sudo-logsrvd-debuginfoamazon-linux-2023-upgrade-sudo-python-pluginamazon-linux-2023-upgrade-sudo-python-plugin-debuginfo | Feb 17, 2025 | Jan 18, 2023 | |
| Apple Osx Sudo | apple-osx-upgrade-latest | Sep 6, 2023 | Jan 18, 2023 | |
| Centos_linux | — | Upgrade sudoUpgrade sudo-debuginfoUpgrade sudo-devel | Jan 24, 2023 | Jan 18, 2023 |
| Debian | — | Upgrade sudo | Jan 20, 2023 | Jan 18, 2023 |
| Dell Powerstore Dsa2023173 | dell-powerstoreos-upgrade-latest | Oct 23, 2025 | Jun 21, 2023 | |
| Gentoo Linux | — | Upgrade app-admin/sudo. | May 4, 2023 | Jan 18, 2023 |
| Huawei Euleros 2_0_sp10 | — | Upgrade sudo | Mar 20, 2023 | Jan 18, 2023 |
| Huawei Euleros 2_0_sp11 | — | Upgrade sudo | May 8, 2023 | Jan 18, 2023 |
| Huawei Euleros 2_0_sp5 | — | Upgrade sudo | Jun 9, 2023 | Jan 18, 2023 |
| Huawei Euleros 2_0_sp8 | — | Upgrade sudo | Apr 13, 2023 | Jan 18, 2023 |
| Huawei Euleros 2_0_sp9 | — | Upgrade sudo | Mar 9, 2023 | Jan 18, 2023 |
| Nutanix Ahv | — | Upgrade Nutanix AHV to the latest version | Jun 5, 2026 | Apr 11, 2023 |
| Oracle_linux | — | oracle-linux-upgrade-sudooracle-linux-upgrade-sudo-develoracle-linux-upgrade-sudo-python-plugin | Jan 24, 2023 | Jan 18, 2023 |
| Redhat_linux | — | Upgrade sudo-python-plugin-debuginfoUpgrade sudo-python-pluginUpgrade sudoUpgrade sudo-develUpgrade sudo-debugsourceUpgrade sudo-debuginfo | Jan 24, 2023 | Jan 18, 2023 |
| Rocky_linux | rocky-upgrade-sudorocky-upgrade-sudo-debuginforocky-upgrade-sudo-debugsourcerocky-upgrade-sudo-python-pluginrocky-upgrade-sudo-python-plugin-debuginfo | Mar 12, 2024 | Jan 18, 2023 | |
| Suse | — | suse-upgrade-sudosuse-upgrade-sudo-develsuse-upgrade-sudo-plugin-pythonsuse-upgrade-sudo-test | Jan 20, 2023 | Jan 18, 2023 |
| Ubuntu | ubuntu-pro-upgrade-sudoubuntu-pro-upgrade-sudo-ldapubuntu-upgrade-sudoubuntu-upgrade-sudo-ldap | Jan 19, 2023 | Jan 18, 2023 | |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Jan 18, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub