--------------------------------------------------------------------- Red Hat, Inc. Red Hat Security Advisory Synopsis: Updated sudo packages are available Advisory ID: RHSA-2002:072-07 Issue date: 2002-04-22 Updated on: 2002-04-25 Product: Red Hat Powertools Keywords: sudo off-by-five heap local root Cross references: RHSA-2002:071 Obsoletes: RHSA-2002:013 --------------------------------------------------------------------- 1. Topic: Updated sudo packages are available which fix a local root exploit. 2. Relevant releases/architectures: Red Hat Powertools 6.2 - alpha, i386, sparc 3. Problem description: The sudo (superuser do) utility allows a system administrator to give certain users the ability to run commands as root with logging. Global InterSec LLC found an issue with Sudo 1.6.5p2 and earlier which can be exploited to allow a local attacker to gain root privileges. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2002-0184 to this issue. Users of Sudo are advised to upgrade to these errata packages which are not vulnerable to this issue. 4. Solution: Before applying this update, make sure all previously released errata relevant to your system have been applied. To update all RPMs for your particular architecture, run: rpm -Fvh [filenames] where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs. Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. 5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info): 6. RPMs required: Red Hat Powertools 6.2: SRPMS: ftp://updates.redhat.com/6.2/en/powertools/SRPMS/sudo-1.6.5p2-1.6x.1.src.rpm alpha: ftp://updates.redhat.com/6.2/en/powertools/alpha/sudo-1.6.5p2-1.6x.1.alpha.rpm i386: ftp://updates.redhat.com/6.2/en/powertools/i386/sudo-1.6.5p2-1.6x.1.i386.rpm sparc: ftp://updates.redhat.com/6.2/en/powertools/sparc/sudo-1.6.5p2-1.6x.1.sparc.rpm 7. Verification: MD5 sum Package Name -------------------------------------------------------------------------- 396232986eee0e931507052c618ded11 6.2/en/powertools/SRPMS/sudo-1.6.5p2-1.6x.1.src.rpm 0cf88c95cefdfaa6d442b1165ade110d 6.2/en/powertools/alpha/sudo-1.6.5p2-1.6x.1.alpha.rpm be8e7188bf17c3e30dd563c77bf42d72 6.2/en/powertools/i386/sudo-1.6.5p2-1.6x.1.i386.rpm 425255b31999a3172e6b3d6a5282427f 6.2/en/powertools/sparc/sudo-1.6.5p2-1.6x.1.sparc.rpm These packages are GPG signed by Red Hat, Inc. for security. Our key is available at: http://www.redhat.com/about/contact/pgpkey.html You can verify each package with the following command: rpm --checksig <filename> If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command: rpm --checksig --nogpg <filename> 8. References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0184 http://www.globalintersec.com/adv/sudo-2002041701.txt Copyright(c) 2000, 2001, 2002 Red Hat, Inc.