Total vulnerabilities in the database
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.
Software | From | Fixed in |
---|---|---|
sudo_project / sudo | 1.9.12 | 1.9.12.x |
sudo_project / sudo | 1.8.0 | 1.9.12 |
sudo_project / sudo | 1.9.12-p1 | 1.9.12-p1.x |
debian / debian_linux | 10.0 | 10.0.x |
debian / debian_linux | 11.0 | 11.0.x |
fedoraproject / fedora | 37 | 37.x |
fedoraproject / fedora | 36 | 36.x |
apple / macos | - | 13.4 |