Security Advisory Important: sudo security update

Advisory: RHSA-2010:0122-1
Type: Security Advisory
Severity: Important
Issued on: 2010-02-26
Last updated on: 2010-02-26
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
Red Hat Enterprise Linux EUS (v. 5.4.z server)
CVEs (cve.mitre.org): CVE-2010-0426
CVE-2010-0427

Details

An updated sudo package that fixes two security issues is now available for
Red Hat Enterprise Linux 5.

This update has been rated as having important security impact by the Red
Hat Security Response Team.

The sudo (superuser do) utility allows system administrators to give
certain users the ability to run commands as root.

A privilege escalation flaw was found in the way sudo handled the sudoedit
pseudo-command. If a local user were authorized by the sudoers file to use
this pseudo-command, they could possibly leverage this flaw to execute
arbitrary code with the privileges of the root user. (CVE-2010-0426)

The sudo utility did not properly initialize supplementary groups when the
"runas_default" option (in the sudoers file) was used. If a local user
were authorized by the sudoers file to perform their sudo commands under
the account specified with "runas_default", they would receive the root
user's supplementary groups instead of those of the intended target user,
giving them unintended privileges. (CVE-2010-0427)

Users of sudo should upgrade to this updated package, which contains
backported patches to correct these issues.


Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
sudo-1.6.9p17-6.el5_4.src.rpm
File outdated by:  RHSA-2014:0266
    MD5: 64a6ae87a1d6d7c1f31ff6ef254dd883
 
IA-32:
sudo-1.6.9p17-6.el5_4.i386.rpm
File outdated by:  RHSA-2014:0266
    MD5: ee928ae6d4d3b28467059c37e1c19476
 
IA-64:
sudo-1.6.9p17-6.el5_4.ia64.rpm
File outdated by:  RHSA-2014:0266
    MD5: 670b9d695985b7f0a02f9231ee191e4c
 
PPC:
sudo-1.6.9p17-6.el5_4.ppc.rpm
File outdated by:  RHSA-2014:0266
    MD5: 2171d4bc1a9b6d50754095c68db06db5
 
s390x:
sudo-1.6.9p17-6.el5_4.s390x.rpm
File outdated by:  RHSA-2014:0266
    MD5: 8280a09931d4d1a8e88d427943fa22f4
 
x86_64:
sudo-1.6.9p17-6.el5_4.x86_64.rpm
File outdated by:  RHSA-2014:0266
    MD5: 366ee309e009ea81a9d6c93f6087502d
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
sudo-1.6.9p17-6.el5_4.src.rpm
File outdated by:  RHSA-2014:0266
    MD5: 64a6ae87a1d6d7c1f31ff6ef254dd883
 
IA-32:
sudo-1.6.9p17-6.el5_4.i386.rpm
File outdated by:  RHSA-2014:0266
    MD5: ee928ae6d4d3b28467059c37e1c19476
 
x86_64:
sudo-1.6.9p17-6.el5_4.x86_64.rpm
File outdated by:  RHSA-2014:0266
    MD5: 366ee309e009ea81a9d6c93f6087502d
 
Red Hat Enterprise Linux EUS (v. 5.4.z server)

SRPMS:
sudo-1.6.9p17-6.el5_4.src.rpm
File outdated by:  RHSA-2014:0266
    MD5: 64a6ae87a1d6d7c1f31ff6ef254dd883
 
IA-32:
sudo-1.6.9p17-6.el5_4.i386.rpm     MD5: ee928ae6d4d3b28467059c37e1c19476
 
IA-64:
sudo-1.6.9p17-6.el5_4.ia64.rpm     MD5: 670b9d695985b7f0a02f9231ee191e4c
 
PPC:
sudo-1.6.9p17-6.el5_4.ppc.rpm     MD5: 2171d4bc1a9b6d50754095c68db06db5
 
s390x:
sudo-1.6.9p17-6.el5_4.s390x.rpm     MD5: 8280a09931d4d1a8e88d427943fa22f4
 
x86_64:
sudo-1.6.9p17-6.el5_4.x86_64.rpm     MD5: 366ee309e009ea81a9d6c93f6087502d
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

567337 - CVE-2010-0426 sudo: sudoedit option can possibly allow for arbitrary code execution
567622 - CVE-2010-0427 sudo: Fails to reset group permissions if runas_default set


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/