Skip to navigation

Security Advisory file security update

Advisory: RHSA-2003:087-10
Type: Security Advisory
Severity: Moderate
Issued on: 2003-03-05
Last updated on: 2003-03-19
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
CVEs (cve.mitre.org): CVE-2003-0102

Details

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
Linux WS

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
binary.

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
lesspipe.sh script.

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.


Solution

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:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
ftp://updates.redhat.com/rhn/public/2703533/file/3.39-8.7x/SRPMS/file-3.39-8.7x.src.rpm
Missing file
    MD5: 15c75893938ec25e6ae872674560d782
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/SRPMS/file-3.39-8.7x.src.rpm
Missing file
    MD5: 15c75893938ec25e6ae872674560d782
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/i386/file-3.39-8.7x.i386.rpm
Missing file
    MD5: 57ff358a59f9420cebf55059ab64300d
 
IA-64:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/ia64/file-3.39-8.7x.ia64.rpm
Missing file
    MD5: 4fe9b98179258155d4a3d4dc4e543d13
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
ftp://updates.redhat.com/rhn/public/2703533/file/3.39-8.7x/SRPMS/file-3.39-8.7x.src.rpm
Missing file
    MD5: 15c75893938ec25e6ae872674560d782
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/SRPMS/file-3.39-8.7x.src.rpm
Missing file
    MD5: 15c75893938ec25e6ae872674560d782
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/i386/file-3.39-8.7x.i386.rpm
Missing file
    MD5: 57ff358a59f9420cebf55059ab64300d
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
ftp://updates.redhat.com/rhn/public/2703533/file/3.39-8.7x/SRPMS/file-3.39-8.7x.src.rpm
Missing file
    MD5: 15c75893938ec25e6ae872674560d782
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/SRPMS/file-3.39-8.7x.src.rpm
Missing file
    MD5: 15c75893938ec25e6ae872674560d782
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/i386/file-3.39-8.7x.i386.rpm
Missing file
    MD5: 57ff358a59f9420cebf55059ab64300d
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
ftp://updates.redhat.com/rhn/public/2703533/file/3.39-8.7x/SRPMS/file-3.39-8.7x.src.rpm
Missing file
    MD5: 15c75893938ec25e6ae872674560d782
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/SRPMS/file-3.39-8.7x.src.rpm
Missing file
    MD5: 15c75893938ec25e6ae872674560d782
 
IA-64:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/ia64/file-3.39-8.7x.ia64.rpm
Missing file
    MD5: 4fe9b98179258155d4a3d4dc4e543d13
 

Bugs fixed (see bugzilla for more information)

85635 - file utility contains buffer overflow


References


Keywords

file, flaw:buf, readelf.c


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/