RHEL 2.1 : file (RHSA-2003:087)

Medium Nessus Plugin ID 12376


The remote Red Hat host is missing a security update.


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.


Update the affected file package.

See Also




Plugin Details

Severity: Medium

ID: 12376

File Name: redhat-RHSA-2003-087.nasl

Version: $Revision: 1.18 $

Type: local

Agent: unix

Published: 2004/07/06

Modified: 2016/12/28

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:file, cpe:/o:redhat:enterprise_linux:2.1

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 2003/03/19

Reference Information

CVE: CVE-2003-0102

RHSA: 2003:087