Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Sign up!
EnGarde Community
What is the most important Linux security technology?
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Latest Newsletters
Linux Security Week: March 23rd, 2015
Linux Advisory Watch: March 20th, 2015
LinuxSecurity Newsletters
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

RedHat: file buffer overflow vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by Team   
RedHat Linux Updated file packages are available to close a buffer overflow vulnerability.

                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated file packages fix vulnerability
Advisory ID:       RHSA-2003:086-07
Issue date:        2003-03-05
Updated on:        2003-03-07
Product:           Red Hat Linux
Keywords:          readelf.c flaw:buf
Cross references:  
CVE Names:         CAN-2003-0102

1. Topic:

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

2. Relevant releases/architectures:

Red Hat Linux 6.2 - i386
Red Hat Linux 7.0 - i386
Red Hat Linux 7.1 - i386
Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - i386

3. Problem description:

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

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

4. 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:


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

5. RPMs required:

Red Hat Linux 6.2:



Red Hat Linux 7.0:



Red Hat Linux 7.1:



Red Hat Linux 7.2:




Red Hat Linux 7.3:



Red Hat Linux 8.0:



6. Verification:

MD5 sum                          Package Name
8cb16a37290c4714429eef117a56e551 6.2/en/os/SRPMS/file-3.39-8.6x.src.rpm
e84840bfb63e0807652b4c795a211b48 6.2/en/os/i386/file-3.39-8.6x.i386.rpm
15c75893938ec25e6ae872674560d782 7.0/en/os/SRPMS/file-3.39-8.7x.src.rpm
57ff358a59f9420cebf55059ab64300d 7.0/en/os/i386/file-3.39-8.7x.i386.rpm
15c75893938ec25e6ae872674560d782 7.1/en/os/SRPMS/file-3.39-8.7x.src.rpm
57ff358a59f9420cebf55059ab64300d 7.1/en/os/i386/file-3.39-8.7x.i386.rpm
15c75893938ec25e6ae872674560d782 7.2/en/os/SRPMS/file-3.39-8.7x.src.rpm
57ff358a59f9420cebf55059ab64300d 7.2/en/os/i386/file-3.39-8.7x.i386.rpm
4fe9b98179258155d4a3d4dc4e543d13 7.2/en/os/ia64/file-3.39-8.7x.ia64.rpm
15c75893938ec25e6ae872674560d782 7.3/en/os/SRPMS/file-3.39-8.7x.src.rpm
57ff358a59f9420cebf55059ab64300d 7.3/en/os/i386/file-3.39-8.7x.i386.rpm
76ee5aa939dc04cd3cae2fdd18019f3d 8.0/en/os/SRPMS/file-3.39-9.src.rpm
b0560e1725f28fe375f9885a7a6be684 8.0/en/os/i386/file-3.39-9.i386.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at  http://www.Red

You can verify each package with the following command:
    rpm --checksig -v 

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:

7. References:

8. Contact:

The Red Hat security contact is <security@Red>.  More contact
details at  http://www.Red

Copyright 2003 Red Hat, Inc.

Red Hat-watch-list mailing list
To unsubscribe, visit: https://listman.Red Hat-watch-list

< Prev   Next >


Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Tech Companies, Privacy Advocates Call for NSA Reform
Google warns of unauthorized TLS certificates trusted by almost all OSes
How Kevin Mitnick hacked the audience at CeBIT 2015
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2015 Guardian Digital, Inc. All rights reserved.