RHSA-2003:087 - Security Advisory
file security update
Security Advisory: Moderate
Updated file packages are available to close a buffer overflow vulnerability.
[Updated 12 March 2003]
Added packages for Red Hat Enterprise Linux ES and Red Hat Enterprise
The file command is used to identify a particular file according to
the type of data contained by the file.
The file utility before version 3.41 contains a buffer overflow
vulnerability in the ELF parsing routines. This vulnerability may
allow an attacker to create a carefully crafted binary which can cause
arbitrary code to run if a victim runs the file command against that
On some distributions it may also be possible to trigger this file command
vulnerability by encouraging the victim to use the
less command on an exploited file name so that it will be processed by the
All users are advised to update to these erratum packages which
contain a backported patch to correct this vulnerability.
Red Hat would like to thank iDefense for disclosing this issue and
zen-parse for discussion of some of the implications.
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
Please note that this update is available via Red Hat Network. To use Red
Hat Network, launch the Red Hat Update Agent with the following command:
This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.
- Red Hat Enterprise Linux Server 2 ia64
- Red Hat Enterprise Linux Server 2 i386
- Red Hat Enterprise Linux Workstation 2 ia64
- Red Hat Enterprise Linux Workstation 2 i386
- BZ - 85635 - file utility contains buffer overflow
Red Hat Enterprise Linux Server 2
Red Hat Enterprise Linux Workstation 2