Synopsis
The remote Red Hat host is missing a security update for slocate.
Description
The remote Redhat Enterprise Linux 4 host has a package installed that is affected by a vulnerability as referenced in the RHSA-2005:346 advisory.
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:
- 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.
- The default configuration excluded /mnt/floppy, but not /media.
- The default configuration did not exclude nfs4 file systems.
Users of slocate are advised to upgrade to this updated package, which contains backported patches and is not affected by these issues.
Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.
Solution
Update the RHEL slocate package based on the guidance in RHSA-2005:346.
Plugin Details
File Name: redhat-RHSA-2005-346.nasl
Agent: unix
Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus
Risk Information
Vendor
Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:P
Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C
Vulnerability Information
CPE: p-cpe:/a:redhat:enterprise_linux:slocate, cpe:/o:redhat:enterprise_linux:4
Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu
Patch Publication Date: 10/5/2005
Vulnerability Publication Date: 8/23/2005