Skip to navigation

Security Advisory slocate security update

Advisory: RHSA-2004:041-06
Type: Security Advisory
Severity: Moderate
Issued on: 2004-01-26
Last updated on: 2004-01-26
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux AS (v. 3)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux ES (v. 3)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Enterprise Linux WS (v. 3)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
CVEs (cve.mitre.org): CVE-2003-0056
CVE-2003-0848

Details

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

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.


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

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
slocate-2.7-1.src.rpm
File outdated by:  RHSA-2005:747
    MD5: 000070e3a0fedf15c2c54187279d92df
slocate-2.7-1.src.rpm
File outdated by:  RHSA-2005:747
    MD5: 000070e3a0fedf15c2c54187279d92df
 
IA-32:
slocate-2.7-1.i386.rpm
File outdated by:  RHSA-2005:747
    MD5: 414e2ea1442412bfd6bfb29ad0526e89
 
IA-64:
slocate-2.7-1.ia64.rpm
File outdated by:  RHSA-2005:747
    MD5: 2d2d10eff4e00938ce188fc8945b83b5
 
Red Hat Enterprise Linux AS (v. 3)

SRPMS:
slocate-2.7-3.src.rpm
File outdated by:  RHSA-2005:345
    MD5: 8623c169d34a6283bf6683a36cffadaf
slocate-2.7-3.src.rpm
File outdated by:  RHSA-2005:345
    MD5: 8623c169d34a6283bf6683a36cffadaf
 
IA-32:
slocate-2.7-3.i386.rpm
File outdated by:  RHSA-2005:345
    MD5: 9927086e8cbb6c7d9ba18862a4b72204
 
IA-64:
slocate-2.7-3.ia64.rpm
File outdated by:  RHSA-2005:345
    MD5: b19fb5bb73e3e6f32f815f8fb79dfe3c
 
PPC:
slocate-2.7-3.ppc.rpm
File outdated by:  RHSA-2005:345
    MD5: 5fa1e30f75504729ecfcce3e45d7688e
 
s390:
slocate-2.7-3.s390.rpm
File outdated by:  RHSA-2005:345
    MD5: 1e8b49e73b0e6918f0dad9fcdf67fa05
 
s390x:
slocate-2.7-3.s390x.rpm
File outdated by:  RHSA-2005:345
    MD5: 74c2d380112d1476d847fd5b04514d3e
 
x86_64:
slocate-2.7-3.x86_64.rpm
File outdated by:  RHSA-2005:345
    MD5: 5b7b2dc0b1d3d3eab8f4a0305ea74b38
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
slocate-2.7-1.src.rpm
File outdated by:  RHSA-2005:747
    MD5: 000070e3a0fedf15c2c54187279d92df
slocate-2.7-1.src.rpm
File outdated by:  RHSA-2005:747
    MD5: 000070e3a0fedf15c2c54187279d92df
 
IA-32:
slocate-2.7-1.i386.rpm
File outdated by:  RHSA-2005:747
    MD5: 414e2ea1442412bfd6bfb29ad0526e89
 
Red Hat Enterprise Linux ES (v. 3)

SRPMS:
slocate-2.7-3.src.rpm
File outdated by:  RHSA-2005:345
    MD5: 8623c169d34a6283bf6683a36cffadaf
slocate-2.7-3.src.rpm
File outdated by:  RHSA-2005:345
    MD5: 8623c169d34a6283bf6683a36cffadaf
 
IA-32:
slocate-2.7-3.i386.rpm
File outdated by:  RHSA-2005:345
    MD5: 9927086e8cbb6c7d9ba18862a4b72204
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
slocate-2.7-1.src.rpm
File outdated by:  RHSA-2005:747
    MD5: 000070e3a0fedf15c2c54187279d92df
slocate-2.7-1.src.rpm
File outdated by:  RHSA-2005:747
    MD5: 000070e3a0fedf15c2c54187279d92df
 
IA-32:
slocate-2.7-1.i386.rpm
File outdated by:  RHSA-2005:747
    MD5: 414e2ea1442412bfd6bfb29ad0526e89
 
Red Hat Enterprise Linux WS (v. 3)

SRPMS:
slocate-2.7-3.src.rpm
File outdated by:  RHSA-2005:345
    MD5: 8623c169d34a6283bf6683a36cffadaf
slocate-2.7-3.src.rpm
File outdated by:  RHSA-2005:345
    MD5: 8623c169d34a6283bf6683a36cffadaf
 
IA-32:
slocate-2.7-3.i386.rpm
File outdated by:  RHSA-2005:345
    MD5: 9927086e8cbb6c7d9ba18862a4b72204
 
IA-64:
slocate-2.7-3.ia64.rpm
File outdated by:  RHSA-2005:345
    MD5: b19fb5bb73e3e6f32f815f8fb79dfe3c
 
x86_64:
slocate-2.7-3.x86_64.rpm
File outdated by:  RHSA-2005:345
    MD5: 5b7b2dc0b1d3d3eab8f4a0305ea74b38
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
slocate-2.7-1.src.rpm
File outdated by:  RHSA-2005:747
    MD5: 000070e3a0fedf15c2c54187279d92df
slocate-2.7-1.src.rpm
File outdated by:  RHSA-2005:747
    MD5: 000070e3a0fedf15c2c54187279d92df
 
IA-64:
slocate-2.7-1.ia64.rpm
File outdated by:  RHSA-2005:747
    MD5: 2d2d10eff4e00938ce188fc8945b83b5
 

Bugs fixed (see bugzilla for more information)

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


References



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

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