dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


Red Hat Security Advisory: Updated sudo package

Mar 22, 2001, 22:05 (0 Talkback[s])

Date: Wed, 21 Mar 2001 18:31:00 -0500
From: bugzilla@REDHAT.COM
To: BUGTRAQ@SECURITYFOCUS.COM
Subject: [RHSA-2001:019-02] Updated sudo packages fixing buffer overrun available


                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated sudo packages fixing buffer overrun available
Advisory ID:       RHSA-2001:019-02
Issue date:        2001-02-23
Updated on:        2001-03-21
Product:           Red Hat Powertools
Keywords:          sudo buffer overrun
Cross references:  RHSA-2001:018-01
Obsoletes:

1. Topic:

An overrunnable buffer exists in sudo versions prior to 1.6.3p6

2. Relevant releases/architectures:

Red Hat Powertools 6.2 - alpha, i386, sparc

3. Problem description:

The code splitting a log entry into smaller chunks contained an overrunnable buffer. Carefully constructed long commands could lead to execution of code as root. There is no known exploit at this time.

4. Solution:

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 directly *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):

29097 - buffer overflow in sudo

6. RPMs required:

Red Hat Powertools 6.2:

SRPMS:
ftp://updates.redhat.com/powertools/6.2/SRPMS/sudo-1.6.3p6-0.6x.src.rpm

alpha:
ftp://updates.redhat.com/powertools/6.2/alpha/sudo-1.6.3p6-0.6x.alpha.rpm

i386:
ftp://updates.redhat.com/powertools/6.2/i386/sudo-1.6.3p6-0.6x.i386.rpm

sparc:
ftp://updates.redhat.com/powertools/6.2/sparc/sudo-1.6.3p6-0.6x.sparc.rpm

7. Verification:

MD5 sum                           Package Name

cd41a1e0104241c156c4b8ca0740f349 6.2/SRPMS/sudo-1.6.3p6-0.6x.src.rpm
215abef794d0f730cc1ae2103afaf7eb 6.2/alpha/sudo-1.6.3p6-0.6x.alpha.rpm
137b9ce6cde57dd5e84be8b5c58f24dc 6.2/i386/sudo-1.6.3p6-0.6x.i386.rpm
bf527a7a807d0d9fa286fc3d42cefd26 6.2/sparc/sudo-1.6.3p6-0.6x.sparc.rpm
These packages are GPG signed by Red Hat, Inc. for security. Our key is available at:
http://www.redhat.com/corp/contact.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:

Copyright(c) 2000, 2001 Red Hat, Inc.