Redhat: 'ping' update
Posted by LinuxSecurity.com Team   
RedHat Linux This update fixes various issues in ping including a possible buffer overflow.

---------------------------------------------------------------------
                   Red Hat, Inc. Security Advisory

Synopsis:          Potential security problems in ping fixed.
Advisory ID:       RHSA-2000:087-02
Issue date:        2000-10-17
Updated on:        2000-10-18
Product:           Red Hat Linux
Keywords:          ping buffer overflows
Cross references:  N/A
---------------------------------------------------------------------

1. Topic:

N/A

2. Relevant releases/architectures:

Red Hat Linux 6.2 - i386, alpha, sparc
Red Hat Linux 7.0 - i386
Red Hat Linux 7.0J - i386

3. Problem description:

Several problems in ping are fixed:

1) Root privileges are dropped after acquiring a raw socket.
2) An 8 byte overflow of a static buffer "outpack" is prevented.
3) An overflow of a static buffer "buf" is prevented.

A non-exploitable root only segfault is fixed as well.

4. Solution:

For each RPM for your particular architecture, run:

rpm -Fvh [filename]

where filename is the name of the RPM.

5. Bug IDs fixed  (http://bugzilla.Red Hat.com/bugzilla for more info):

18611 - Unfortunate regression in "ping" security
16677 - "ping -c 1 -s 65690  localhost" segfaults


6. RPMs required:

Red Hat Linux 6.2:

alpha: 
ftp://updates.Red Hat.com/6.2/alpha/iputils-20001010-1.6x.alpha.rpm

sparc: 
ftp://updates.Red Hat.com/6.2/sparc/iputils-20001010-1.6x.sparc.rpm

i386: 
ftp://updates.Red Hat.com/6.2/i386/iputils-20001010-1.6x.i386.rpm

sources: 
ftp://updates.Red Hat.com/6.2/SRPMS/iputils-20001010-1.6x.src.rpm

Red Hat Linux 7.0:

i386: 
ftp://updates.Red Hat.com/7.0/i386/iputils-20001010-1.i386.rpm

sources: 
ftp://updates.Red Hat.com/7.0/SRPMS/iputils-20001010-1.src.rpm

7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------
e4b1ca9fbebe4dfa6e37eba5a48d307f  6.2/SRPMS/iputils-20001010-1.6x.src.rpm
6904ba7f8502fb009002cd96645f0539  6.2/alpha/iputils-20001010-1.6x.alpha.rpm
ce5de156e02e5e8e010a344e8c0cdc34  6.2/i386/iputils-20001010-1.6x.i386.rpm
11c046097bfb8c3fa62635aa531edfeb  6.2/sparc/iputils-20001010-1.6x.sparc.rpm
7bb083f0624eafd1a3f2038ff740789a  7.0/SRPMS/iputils-20001010-1.src.rpm
1973d87e9f0b685991ab4ffba1a7d257  7.0/i386/iputils-20001010-1.i386.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
     http://www.Red Hat.com/corp/contact.html

You can verify each package with the following command:
    rpm --checksig  

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 

8. References:

N/A


Copyright(c) 2000 Red Hat, Inc.