RedHat: Low: slocate security update
Posted by Benjamin D. Thomas   
RedHat Linux An updated slocate package that fixes a denial of service and various bugs is now available. This update has been rated as having low security impact by the Red Hat Security Response Team.
- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Low: slocate security update
Advisory ID:       RHSA-2005:345-02
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-345.html
Issue date:        2005-09-28
Updated on:        2005-09-28
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2005-2499
- ---------------------------------------------------------------------

1. Summary:

An updated slocate package that fixes a denial of service and various bugs
is now available.

This update has been rated as having low security impact by the Red Hat
Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

Slocate is a security-enhanced version of locate. Like locate, slocate
searches through a central database (updated nightly) for files that match
a given pattern. Slocate allows you to quickly find files anywhere on your
system.

A bug was found in the way slocate scans the local filesystem. A carefully
prepared directory structure could cause updatedb's file system scan to
fail silently, resulting in an incomplete slocate database. The Common
Vulnerabilities and Exposures project has assigned the name CAN-2005-2499
to this issue.

Additionally this update addresses the following issues:

- - Files with a size of 2 GB and larger were not entered into the slocate
  database.

- - File system type exclusions were processed only when starting updatedb 
  and did not reflect file systems mounted while updatedb was running 
  (for example, automounted file systems).

- - File system type exclusions were ignored for file systems that were
  mounted to a path containing a symbolic link.

- - Databases created by slocate were owned by the slocate group even if they
  were created by regular users.

Users of slocate are advised to upgrade to this updated package, which
contains backported patches and is not affected by these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    http://www.redhat.com/docs/manuals/enterprise/

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

132571 - Files > 2 GB are not entered into slocate data base
139950 - slocate collects .automount files over nfs
169453 - CAN-2005-2499 slocate DOS


6. RPMs required:

Red Hat Enterprise Linux AS version 3:

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

i386:
7d238c27081ed073269359e79319b7bd  slocate-2.7-3.RHEL3.6.i386.rpm

ia64:
390fc703afec21d6244c6e2aa1414ec2  slocate-2.7-3.RHEL3.6.ia64.rpm

ppc:
b07fd76ab3c6716c4253c74cb59c26a3  slocate-2.7-3.RHEL3.6.ppc.rpm

s390:
86b77a7eadc28dbe7379728dc816a96e  slocate-2.7-3.RHEL3.6.s390.rpm

s390x:
4954e1ae86d8a391d44702f871dcfe49  slocate-2.7-3.RHEL3.6.s390x.rpm

x86_64:
1086c5a84f92aecc5c29340ea1a8f218  slocate-2.7-3.RHEL3.6.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/slocate-2.7-3.RHEL3.6.src.rpm
0652f2d48a5f5bc146f62ddf18a859a2  slocate-2.7-3.RHEL3.6.src.rpm

i386:
7d238c27081ed073269359e79319b7bd  slocate-2.7-3.RHEL3.6.i386.rpm

x86_64:
1086c5a84f92aecc5c29340ea1a8f218  slocate-2.7-3.RHEL3.6.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

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

i386:
7d238c27081ed073269359e79319b7bd  slocate-2.7-3.RHEL3.6.i386.rpm

ia64:
390fc703afec21d6244c6e2aa1414ec2  slocate-2.7-3.RHEL3.6.ia64.rpm

x86_64:
1086c5a84f92aecc5c29340ea1a8f218  slocate-2.7-3.RHEL3.6.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

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

i386:
7d238c27081ed073269359e79319b7bd  slocate-2.7-3.RHEL3.6.i386.rpm

ia64:
390fc703afec21d6244c6e2aa1414ec2  slocate-2.7-3.RHEL3.6.ia64.rpm

x86_64:
1086c5a84f92aecc5c29340ea1a8f218  slocate-2.7-3.RHEL3.6.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2499

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2005 Red Hat, Inc.