Skip to navigation

Security Advisory Updated file packages fix vulnerability

Advisory: RHSA-2003:086-09
Type: Security Advisory
Severity: N/A
Issued on: 2003-03-05
Last updated on: 2003-07-01
Affected Products: Red Hat Linux 6.2
Red Hat Linux 7.0
Red Hat Linux 7.1
Red Hat Linux 7.1 for iSeries
Red Hat Linux 7.1 for pSeries
Red Hat Linux 7.2
Red Hat Linux 7.3
Red Hat Linux 8.0
CVEs (cve.mitre.org): CVE-2003-0102

Details

Updated file packages are available to close a buffer overflow vulnerability.

[Updated 16 April 2003]
Added packages for Red Hat Linux on IBM iSeries and pSeries systems.

The file command is used to identify a particular file according to the
type of data contained in 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 allow
arbitrary code to be run if a victim runs the 'file' command on that
binary.

There are other ways that an attacker may be able to take advantage of
this vulnerability in the file command:

-- In Red Hat Linux 6.2 and 7.0, the rhs-printfilter package makes use
of the file command. This would allow an attacker who has the ability
to print to execute arbitrary commands (as the user 'lp') on the print
server by sending a malicious file.

-- On some Red Hat Linux distributions it may also be possible to
trigger this exploit by encouraging the victim to use the 'less'
command on a malicious file which is named 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.

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.

Updated packages

Red Hat Linux 6.2

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.6x/SRPMS/file-3.39-8.6x.src.rpm
Missing file
    MD5: 8cb16a37290c4714429eef117a56e551
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.6x/i386/file-3.39-8.6x.i386.rpm
Missing file
    MD5: e84840bfb63e0807652b4c795a211b48
 
Red Hat Linux 7.0

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 7.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 7.1 for iSeries

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
 
iSeries:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/ppc/file-3.39-8.7x.ppc.rpm
Missing file
    MD5: ed14e9f0dbe6e745d96ba0074ef71624
 
Red Hat Linux 7.1 for pSeries

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
 
pSeries:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-8.7x/ppc/file-3.39-8.7x.ppc.rpm
Missing file
    MD5: ed14e9f0dbe6e745d96ba0074ef71624
 
Red Hat Linux 7.2

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

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 8.0

SRPMS:
ftp://updates.redhat.com/rhn/private/redhat-linux-i386-9/SRPMS/file-3.39-9.src.rpm
Missing file
    MD5: 76ee5aa939dc04cd3cae2fdd18019f3d
ftp://updates.redhat.com/rhn/public/2703533/file/3.39-9/SRPMS/file-3.39-9.src.rpm
Missing file
    MD5: 76ee5aa939dc04cd3cae2fdd18019f3d
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/file/3.39-9/i386/file-3.39-9.i386.rpm
Missing file
    MD5: b0560e1725f28fe375f9885a7a6be684
 

References


Keywords

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/