Low: sudo security and bug fix update
| Advisory: | RHSA-2012:0309-3 |
|---|---|
| Type: | Security Advisory |
| Severity: | Low |
| Issued on: | 2012-02-21 |
| Last updated on: | 2012-02-21 |
| Affected Products: | Red Hat Enterprise Linux (v. 5 server) Red Hat Enterprise Linux Desktop (v. 5 client) |
| CVEs (cve.mitre.org): |
CVE-2011-0010 |
Details
An updated sudo package that fixes one security issue and various bugs is
now available for Red Hat Enterprise Linux 5.
The Red Hat Security Response Team has rated this update as having low
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.
The sudo (superuser do) utility allows system administrators to give
certain users the ability to run commands as root.
A flaw was found in the sudo password checking logic. In configurations
where the sudoers settings allowed a user to run a command using sudo
with only the group ID changed, sudo failed to prompt for the user's
password before running the specified command with the elevated group
privileges. (CVE-2011-0010)
In addition, this update fixes the following bugs:
* A NULL pointer dereference bug caused the sudo utility to terminate
unexpectedly with a segmentation fault. This happened if the utility was
run with the -g option and configured not to demand the password from the
user who ran the sudo utility. With this update, the code has been modified
and the problem no longer occurs. (BZ#673072)
* The sudo utility failed to load sudoers from an LDAP (Lightweight
Directory Access Protocol) server after the sudo tool was upgraded. This
happened because the upgraded nsswitch.conf file did not contain the
instruction to search for sudoers on the LDAP server. This update adds the
lost instruction to /etc/nsswitch.conf and the system searches for sources
of sudoers on the local file system and then on LDAP, if applicable.
(BZ#617061)
* The sudo tool interpreted a Runas alias specifying a group incorrectly as
a user alias and the alias seemed to be ignored. With this update, the code
for interpreting such aliases has been modified and the Runas group aliases
are honored as expected. (BZ#627543)
* Prior to this update, sudo did not parse comment characters (#) in the
ldap.conf file correctly and could fail to work. With this update, parsing
of the LDAP configuration file has been modified and the comment characters
are parsed correctly. (BZ#750318)
* The sudo utility formats its output to fit the width of the terminal
window. However, this behavior is undesirable if the output is redirected
through a pipeline. With this update, the output formatting is not applied
in the scenario described. (BZ#697111)
* Previously, the sudo utility performed Security-Enhanced Linux (SELinux)
related initialization after switching to an unprivileged user. This
prevented the correct setup of the SELinux environment before executing the
specified command and could potentially cause an access denial. The bug has
been fixed by backporting the SELinux related code and the execution model
from a newer version of sudo. (BZ#477185)
* On execv(3) function failure, the sudo tool executed an auditing call
before reporting the failure. The call reset the error state and,
consequently, the tool incorrectly reported that the command succeeded.
With this update, the code has been modified and the problem no longer
occurs. (BZ#673157)
All users of sudo are advised to upgrade to this updated package, which
resolves these issues.
Solution
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
https://access.redhat.com/kb/docs/DOC-11259
Updated packages
| Red Hat Enterprise Linux (v. 5 server) | |
| SRPMS: | |
| sudo-1.7.2p1-13.el5.src.rpm File outdated by: RHBA-2013:0616 |
MD5: 2a0c103edcb3b9f04896bb109b2dd62f SHA-256: 8591b9bf8b0729c142401f9e00e879978046107a855a46793e583fc906b19267 |
| IA-32: | |
| sudo-1.7.2p1-13.el5.i386.rpm File outdated by: RHBA-2013:0616 |
MD5: 28267143426134f45e19c39625ba9465 SHA-256: a3f6461ac16d15b2348304408c75a3240bcdb8f029f85207b63ec8c15ed70484 |
| sudo-debuginfo-1.7.2p1-13.el5.i386.rpm File outdated by: RHBA-2013:0616 |
MD5: 2e969659317f549bc070d5ee4d64ad20 SHA-256: 2effc074b2bf1d0761daf015d8f8a0ad26fad06bf39f5268ed28b3e10dbedb36 |
| IA-64: | |
| sudo-1.7.2p1-13.el5.ia64.rpm File outdated by: RHBA-2013:0616 |
MD5: e86cfdceaed7968ed92ba40b754f9b57 SHA-256: a5f87f6ef03873b2d7135e78198a5d2ac9722946a1a298b2c61b420fc2ce4eee |
| sudo-debuginfo-1.7.2p1-13.el5.ia64.rpm File outdated by: RHBA-2013:0616 |
MD5: da961067c5eed6e295003d1ef18664a5 SHA-256: 4025818f7df289557214dfe6525c7af369d116057c21a8f89b8615037fb82dd7 |
| PPC: | |
| sudo-1.7.2p1-13.el5.ppc.rpm File outdated by: RHBA-2013:0616 |
MD5: 91a4d5b1546e3485d9aabd1619feaf7b SHA-256: 51079730bba1d2d60b6519f1d2f033786da1af50fdd25aab7253684cd555b5f0 |
| sudo-debuginfo-1.7.2p1-13.el5.ppc.rpm File outdated by: RHBA-2013:0616 |
MD5: 8b8507bf3d697cc12fe53ad063c4a8d3 SHA-256: a73c32ab55e2038220ea1a567fa9a8dfba34689ebbbce2833a097a67447b5f98 |
| s390x: | |
| sudo-1.7.2p1-13.el5.s390x.rpm File outdated by: RHBA-2013:0616 |
MD5: b711a5810007d2fa93f16cad892cace4 SHA-256: 476bfbb0e942135ef27e4e568274f62fb7a7bcd135839468898c0c07615f1d2a |
| sudo-debuginfo-1.7.2p1-13.el5.s390x.rpm File outdated by: RHBA-2013:0616 |
MD5: 1317df5155d9ba411299f7534d9b2671 SHA-256: 4962a2860a8c888d47fcc471bd6433b6af215eacc371dce15fb0ee47f5ba817e |
| x86_64: | |
| sudo-1.7.2p1-13.el5.x86_64.rpm File outdated by: RHBA-2013:0616 |
MD5: 33ac5ae8ead19d46020f9f40199eea7b SHA-256: 390fd1aeb84db50a408acc87220c3eec5049c7731f7c0974d077b7a2ab63411e |
| sudo-debuginfo-1.7.2p1-13.el5.x86_64.rpm File outdated by: RHBA-2013:0616 |
MD5: 6e71d8f879a7fa6249f497c7985e9b44 SHA-256: 43e811c88d6a1d96365f4e6ab935fcd1d1a8a36f489c2424b29db228ce608e76 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | |
| SRPMS: | |
| sudo-1.7.2p1-13.el5.src.rpm File outdated by: RHBA-2013:0616 |
MD5: 2a0c103edcb3b9f04896bb109b2dd62f SHA-256: 8591b9bf8b0729c142401f9e00e879978046107a855a46793e583fc906b19267 |
| IA-32: | |
| sudo-1.7.2p1-13.el5.i386.rpm File outdated by: RHBA-2013:0616 |
MD5: 28267143426134f45e19c39625ba9465 SHA-256: a3f6461ac16d15b2348304408c75a3240bcdb8f029f85207b63ec8c15ed70484 |
| sudo-debuginfo-1.7.2p1-13.el5.i386.rpm File outdated by: RHBA-2013:0616 |
MD5: 2e969659317f549bc070d5ee4d64ad20 SHA-256: 2effc074b2bf1d0761daf015d8f8a0ad26fad06bf39f5268ed28b3e10dbedb36 |
| x86_64: | |
| sudo-1.7.2p1-13.el5.x86_64.rpm File outdated by: RHBA-2013:0616 |
MD5: 33ac5ae8ead19d46020f9f40199eea7b SHA-256: 390fd1aeb84db50a408acc87220c3eec5049c7731f7c0974d077b7a2ab63411e |
| sudo-debuginfo-1.7.2p1-13.el5.x86_64.rpm File outdated by: RHBA-2013:0616 |
MD5: 6e71d8f879a7fa6249f497c7985e9b44 SHA-256: 43e811c88d6a1d96365f4e6ab935fcd1d1a8a36f489c2424b29db228ce608e76 |
| (The unlinked packages above are only available from the Red Hat Network) | |
Bugs fixed (see bugzilla for more information)
477185 - sudo changes uid before calling SELInux calls, preventing it from setting terminal context when using non priv account
627543 - The Runas_Spec are ignored in sudoers file
668879 - CVE-2011-0010 sudo: does not ask for password on GID changes
673072 - sudo segfault
673157 - sudo fails to report error correctly when execv(3) fails
697111 - sudo -l inserts new lines based on terminal width, causing errors when output is piped.
References
https://access.redhat.com/security/updates/classification/#low
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/