GLSA-200412-07 : file: Arbitrary code execution

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200412-07
(file: Arbitrary code execution)

A possible stack overflow has been found in the ELF header parsing code
of file.

Impact :

An attacker may be able to create a specially crafted ELF file which,
when processed with file, may allow the execution of arbitrary code.

Workaround :

There is no known workaround at this time.

See also :

http://securitytracker.com/id?1012433
http://www.gentoo.org/security/en/glsa/glsa-200412-07.xml

Solution :

All file users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=sys-apps/file-4.12'

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 15954 (gentoo_GLSA-200412-07.nasl)

Bugtraq ID:

CVE ID: CVE-2004-1304