Red Hat Linux Security Advisory
Back to Red Hat Linux Errata
 
Red Hat Linux Security Advisory

back
Synopsis New slocate packages available to fix local group slocate compromise

Advisory ID RHSA-2000:128-02

Issue Date 2000-12-19

Updated On 2000-12-19

Product Red Hat Linux

Keywords slocate heap overflow

Cross References

Obsoletes



1. Topic:

New slocate packages are availble for Red Hat Linux 6.x and Red Hat
Linux 7. These fix a problem with the database parsing code in slocate.
(slocate was not shipped with Red Hat Linux prior to version 6.0, so
earlier versions are not affected.)

2. Problem description:

A problem existed in the slocate database parsing code. By using a
carefully
crafted database, a local user could overwrite some of slocate's internal
structures, leading to a local group slocate compromise.

The affect of this compromise is that users could read the entire slocate
database, and therefore learn the locations of files that they normally
would not have permissions to locate.

Thanks to Michel Kaempf, zorgon@linuxstart.com, and Michal Zalewski
for pointing out the vulnerability.

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

21388 - heap corruption vulnerability

4. Relevant releases/architectures:

Red Hat Linux 6.0 - alpha, i386, sparc
Red Hat Linux 6.1 - alpha, i386, sparc
Red Hat Linux 6.2 - alpha, i386, sparc
Red Hat Linux 7.0 - alpha, i386

5. RPMs required:

Red Hat Linux 6.0:

SRPMS:
ftp://updates.redhat.com/6.0/en/os/SRPMS/slocate-2.4-0.6.x.src.rpm

alpha:
ftp://updates.redhat.com/6.0/en/os/alpha/slocate-2.4-0.6.x.alpha.rpm

i386:
ftp://updates.redhat.com/6.0/en/os/i386/slocate-2.4-0.6.x.i386.rpm

sparc:
ftp://updates.redhat.com/6.0/en/os/sparc/slocate-2.4-0.6.x.sparc.rpm

Red Hat Linux 6.1:

SRPMS:
ftp://updates.redhat.com/6.1/en/os/SRPMS/slocate-2.4-0.6.x.src.rpm

alpha:
ftp://updates.redhat.com/6.1/en/os/alpha/slocate-2.4-0.6.x.alpha.rpm
ftp://updates.redhat.com/6.1/en/os/alpha/slocate-2.4-0.6.x.alpha.rpm
ftp://updates.redhat.com/6.1/en/os/alpha/slocate-2.4-0.6.x.alpha.rpm

i386:
ftp://updates.redhat.com/6.1/en/os/i386/slocate-2.4-0.6.x.i386.rpm

sparc:
ftp://updates.redhat.com/6.1/en/os/sparc/slocate-2.4-0.6.x.sparc.rpm

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/slocate-2.4-0.6.x.src.rpm
ftp://updates.redhat.com/6.2/en/os/SRPMS/slocate-2.4-0.6.x.src.rpm
ftp://updates.redhat.com/6.2/en/os/SRPMS/slocate-2.4-0.6.x.src.rpm
ftp://updates.redhat.com/6.2/en/os/SRPMS/slocate-2.4-1.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/slocate-2.4-0.6.x.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/slocate-2.4-0.6.x.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/slocate-2.4-0.6.x.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/slocate-2.4-1.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/slocate-2.4-1.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/slocate-2.4-1.i386.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
-------------------------------------------------------------------------
ba211d65172160c4a6cba5a65bd93f60  6.0/en/os/alpha/slocate-2.4-0.6.x.alpha.rpm
8b63c4c1fec7759f79559a616c5f15e9  6.0/en/os/i386/slocate-2.4-0.6.x.i386.rpm
eeea0298b59fdfa6e475ee732a385942  6.0/en/os/sparc/slocate-2.4-0.6.x.sparc.rpm
ba211d65172160c4a6cba5a65bd93f60  6.1/en/os/alpha/slocate-2.4-0.6.x.alpha.rpm
8b63c4c1fec7759f79559a616c5f15e9  6.1/en/os/i386/slocate-2.4-0.6.x.i386.rpm
eeea0298b59fdfa6e475ee732a385942  6.1/en/os/sparc/slocate-2.4-0.6.x.sparc.rpm
ba211d65172160c4a6cba5a65bd93f60  6.2/en/os/alpha/slocate-2.4-0.6.x.alpha.rpm
8b63c4c1fec7759f79559a616c5f15e9  6.2/en/os/i386/slocate-2.4-0.6.x.i386.rpm
eeea0298b59fdfa6e475ee732a385942  6.2/en/os/sparc/slocate-2.4-0.6.x.sparc.rpm
5ee5ec5f65e200e9d03f4d2dda43ce07  7.0/en/os/alpha/slocate-2.4-1.alpha.rpm
ba3b1c1743ec957cb8abb05818e05854  7.0/en/os/i386/slocate-2.4-1.i386.rpm
53abff41632acc6764c14ba59384cf84  6.0/en/os/SRPMS/slocate-2.4-0.6.x.src.rpm
53abff41632acc6764c14ba59384cf84  6.1/en/os/SRPMS/slocate-2.4-0.6.x.src.rpm
53abff41632acc6764c14ba59384cf84  6.2/en/os/SRPMS/slocate-2.4-0.6.x.src.rpm
2672ef24c8ca7afbcb6a327622d71c42  7.0/en/os/SRPMS/slocate-2.4-1.src.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:

http://www.securityfocus.com/bid/2004

Copyright © 2000-2002 Red Hat, Inc.