Red Hat Linux General Security Advisory

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

3. Bug IDs fixed: (see bugzilla for more information)

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

4. Relevant releases/architectures:

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

5. RPMs required:

Red Hat Linux 6.2:

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/iputils-20001010-1.6x.alpha.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/iputils-20001010-1.6x.sparc.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/iputils-20001010-1.6x.i386.rpm

sources:
ftp://updates.redhat.com/6.2/en/os/SRPMS/iputils-20001010-1.6x.src.rpm

Red Hat Linux 7.0:

i386:
ftp://updates.redhat.com/7.0/en/os/i386/iputils-20001010-1.i386.rpm

sources:
ftp://updates.redhat.com/7.0/en/os/SRPMS/iputils-20001010-1.src.rpm

6. Solution:

For each RPM for your particular architecture, run:

rpm -Fvh [filename]

where filename is the name of the RPM.

7. Verification:

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

These packages are GPG signed by Red Hat, Inc. for security. Our key is available at:
http://www.redhat.com/about/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

Note that you need RPM >= 3.0 to check GnuPG keys.

8. References:

N/A