file: Arbitrary code execution

2004-12-13T00:00:00
ID GLSA-200412-07
Type gentoo
Reporter Gentoo Foundation
Modified 2006-05-22T00:00:00

Description

Background

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

Description

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.

Resolution

All file users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-apps/file-4.12"