AUSCERT External Security Bulletin Redistribution

                     ESB-2001.121 -- RHSA-2001:019-02
           Updated sudo packages fixing buffer overrun available
                               27 March 2001


        AusCERT Security Bulletin Summary

Product:                sudo
Vendor:                 Red Hat
Operating System:       Red Hat Powertools 6.2
Platform:               alpha
Impact:                 Root Compromise
Access Required:        Existing Account

- --------------------------BEGIN INCLUDED TEXT--------------------

- ---------------------------------------------------------------------
                   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
- ---------------------------------------------------------------------

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:


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:





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:

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.

- --------------------------END INCLUDED TEXT--------------------

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security

Internet Email: auscert@auscert.org.au
Facsimile:	(07) 3365 7031
Telephone:	(07) 3365 4417 (International: +61 7 3365 4417)
		AusCERT personnel answer during Queensland business hours
		which are GMT+10:00 (AEST).
		On call after hours for emergencies.

Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key