--------------------------------------------------------------------- Red Hat, Inc. Red Hat Security Advisory Synopsis: Updated sudo packages are available Advisory ID: RHSA-2002:071-07 Issue date: 2002-04-22 Updated on: 2002-04-25 Product: Red Hat Linux Keywords: sudo off-by-five heap local root Cross references: RHSA-2002:072 Obsoletes: RHSA-2002:011 --------------------------------------------------------------------- 1. Topic: Updated sudo packages are available which fix a local root exploit. 2. Relevant releases/architectures: Red Hat Linux 7.0 - alpha, i386 Red Hat Linux 7.1 - alpha, i386, ia64 Red Hat Linux 7.2 - i386, ia64 3. Problem description: The sudo (superuser do) utility allows system administrators 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 Linux 7.0: SRPMS: ftp://updates.redhat.com/7.0/en/os/SRPMS/sudo-1.6.5p2-1.7x.1.src.rpm alpha: ftp://updates.redhat.com/7.0/en/os/alpha/sudo-1.6.5p2-1.7x.1.alpha.rpm i386: ftp://updates.redhat.com/7.0/en/os/i386/sudo-1.6.5p2-1.7x.1.i386.rpm Red Hat Linux 7.1: SRPMS: ftp://updates.redhat.com/7.1/en/os/SRPMS/sudo-1.6.5p2-1.7x.1.src.rpm alpha: ftp://updates.redhat.com/7.1/en/os/alpha/sudo-1.6.5p2-1.7x.1.alpha.rpm i386: ftp://updates.redhat.com/7.1/en/os/i386/sudo-1.6.5p2-1.7x.1.i386.rpm ia64: ftp://updates.redhat.com/7.1/en/os/ia64/sudo-1.6.5p2-1.7x.1.ia64.rpm Red Hat Linux 7.2: SRPMS: ftp://updates.redhat.com/7.2/en/os/SRPMS/sudo-1.6.5p2-1.7x.1.src.rpm i386: ftp://updates.redhat.com/7.2/en/os/i386/sudo-1.6.5p2-1.7x.1.i386.rpm ia64: ftp://updates.redhat.com/7.2/en/os/ia64/sudo-1.6.5p2-1.7x.1.ia64.rpm 7. Verification: MD5 sum Package Name -------------------------------------------------------------------------- 201ca524c0fee5d58bb7861f0e4bae4c 7.0/en/os/SRPMS/sudo-1.6.5p2-1.7x.1.src.rpm feee2f8fdbc9b07a3e6453d8ee615253 7.0/en/os/alpha/sudo-1.6.5p2-1.7x.1.alpha.rpm 11e39dde06b2754e9ceebfdddebed049 7.0/en/os/i386/sudo-1.6.5p2-1.7x.1.i386.rpm 201ca524c0fee5d58bb7861f0e4bae4c 7.1/en/os/SRPMS/sudo-1.6.5p2-1.7x.1.src.rpm feee2f8fdbc9b07a3e6453d8ee615253 7.1/en/os/alpha/sudo-1.6.5p2-1.7x.1.alpha.rpm 11e39dde06b2754e9ceebfdddebed049 7.1/en/os/i386/sudo-1.6.5p2-1.7x.1.i386.rpm 56c5d655612194063d0ecec4e90816a9 7.1/en/os/ia64/sudo-1.6.5p2-1.7x.1.ia64.rpm 201ca524c0fee5d58bb7861f0e4bae4c 7.2/en/os/SRPMS/sudo-1.6.5p2-1.7x.1.src.rpm 11e39dde06b2754e9ceebfdddebed049 7.2/en/os/i386/sudo-1.6.5p2-1.7x.1.i386.rpm 56c5d655612194063d0ecec4e90816a9 7.2/en/os/ia64/sudo-1.6.5p2-1.7x.1.ia64.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.