sudo: Privilege escalation
Gentoo Linux Security Advisory
||GLSA 201406-30 / sudo
||June 27, 2014
||June 27, 2014: 1
All supported architectures
A vulnerability has been found in sudo allowing a local attacker to
gain elevated privileges.
sudo allows a system administrator to give users the ability to run
commands as other users. Access to commands may also be granted on a
range to hosts.
When the Sudo env_reset option is disabled (it is enabled by default),
certain environment variables are not blacklisted as expected.
A local attacker, authorized to run commands using sudo, can use this
flaw to execute arbitrary code or escalate his privileges.
There is no known workaround at this time.
All sudo users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/sudo-1.8.5"