Red Hat alert: Updated slocate packages fix vulnerabilities

Posted by dave on Jan 26, 2004 10:26 AM EDT
Mailing list
Mail this story
Print this story

Updated slocate packages are now available that fix vulnerabilities allowing a local user to gain "slocate" group privileges.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------- Red Hat Security Advisory

Synopsis: Updated slocate packages fix vulnerabilities Advisory ID: RHSA-2004:041-01 Issue date: 2004-01-21 Updated on: 2004-01-22 Product: Red Hat Enterprise Linux Keywords: Cross references: Obsoletes: CVE Names: CAN-2003-0848 CAN-2003-0056 - ---------------------------------------------------------------------

1. Topic:

Updated slocate packages are now available that fix vulnerabilities allowing a local user to gain "slocate" group privileges.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64 Red Hat Linux Advanced Workstation 2.1 - ia64 Red Hat Enterprise Linux ES version 2.1 - i386 Red Hat Enterprise Linux WS version 2.1 - i386 Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64 Red Hat Enterprise Linux ES version 3 - i386 Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

Slocate is a security-enhanced version of locate, designed to find files on a system via a central database.

Patrik Hornik discovered a vulnerability in Slocate versions up to and including 2.7 where a carefully crafted database could overflow a heap-based buffer. A local user could exploit this vulnerability to gain "slocate" group privileges and then read the entire slocate database. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2003-0848 to this issue.

Users of Slocate should upgrade to these erratum packages, which contain Slocate version 2.7 with the addition of a patch from Kevin Lindsay that causes slocate to drop privileges before reading a user-supplied database.

For Red Hat Enterprise Linux 2.1 these packages also fix a buffer overflow that affected unpatched versions of Slocate prior to 2.7. This vulnerability could also allow a local user to gain "slocate" group privileges. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2003-0056 to this issue.

4. Solution:

Before applying this update, make sure all previously released errata relevant to your system have been applied.

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

If up2date fails to connect to Red Hat Network due to SSL Certificate Errors, you need to install a version of the up2date client with an updated certificate. The latest version of up2date is available from the Red Hat FTP site and may also be downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

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

114013 - CAN-2003-0848 slocate buffer overflow 114016 - CAN-2003-0056 buffer overflow in slocate

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS: ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/slocate-2.7-1.src.rpm

i386: Available from Red Hat Network: slocate-2.7-1.i386.rpm

ia64: Available from Red Hat Network: slocate-2.7-1.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS: ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/slocate-2.7-1.src.rpm

ia64: Available from Red Hat Network: slocate-2.7-1.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS: ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/slocate-2.7-1.src.rpm

i386: Available from Red Hat Network: slocate-2.7-1.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS: ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/slocate-2.7-1.src.rpm

i386: Available from Red Hat Network: slocate-2.7-1.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS: ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/slocate-2.7-3.src.rpm

i386: Available from Red Hat Network: slocate-2.7-3.i386.rpm

ia64: Available from Red Hat Network: slocate-2.7-3.ia64.rpm

ppc: Available from Red Hat Network: slocate-2.7-3.ppc.rpm

s390: Available from Red Hat Network: slocate-2.7-3.s390.rpm

s390x: Available from Red Hat Network: slocate-2.7-3.s390x.rpm

x86_64: Available from Red Hat Network: slocate-2.7-3.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS: ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/slocate-2.7-3.src.rpm

i386: Available from Red Hat Network: slocate-2.7-3.i386.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS: ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/slocate-2.7-3.src.rpm

i386: Available from Red Hat Network: slocate-2.7-3.i386.rpm

ia64: Available from Red Hat Network: slocate-2.7-3.ia64.rpm

x86_64: Available from Red Hat Network: slocate-2.7-3.x86_64.rpm



7. Verification:

MD5 sum Package Name - -------------------------------------------------------------------------



  Nav
» Read more about: Story Type: Security; Groups: Red Hat

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.