file: Arbitrary code execution The code for parsing ELF headers in file contains a flaw which may allow an attacker to execute arbitrary code. file 2004-12-13 2006-05-22 72521 remote 4.12 4.12

file is a utility used to identify the type of a file.

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

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

There is no known workaround at this time.

All file users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/file-4.12"
SecurityTracker Alert ID 1012433 CVE-2004-1304 koon koon vorlon078