Gentoo Logo

sudo: Privilege escalation


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201406-30 / sudo
Release Date June 27, 2014
Latest Revision June 27, 2014: 1
Impact high
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-admin/sudo < 1.8.5 >= 1.8.5, < 1.6.9 All supported architectures

Related bugreports: #503586


A vulnerability has been found in sudo allowing a local attacker to gain elevated privileges.

2.  Impact Information


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.

3.  Resolution Information


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"

4.  References


Page updated June 27, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.