blob: d20e9a88b21438e899727a6dc18305f37536977c [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200412-07">
<title>file: Arbitrary code execution</title>
<synopsis>
The code for parsing ELF headers in file contains a flaw which may allow an
attacker to execute arbitrary code.
</synopsis>
<product type="ebuild">file</product>
<announced>December 13, 2004</announced>
<revised>May 22, 2006: 02</revised>
<bug>72521</bug>
<access>remote</access>
<affected>
<package name="sys-apps/file" auto="yes" arch="*">
<unaffected range="ge">4.12</unaffected>
<vulnerable range="lt">4.12</vulnerable>
</package>
</affected>
<background>
<p>
file is a utility used to identify the type of a file.
</p>
</background>
<description>
<p>
A possible stack overflow has been found in the ELF header parsing code
of file.
</p>
</description>
<impact type="normal">
<p>
An attacker may be able to create a specially crafted ELF file which,
when processed with file, may allow the execution of arbitrary code.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All file users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=sys-apps/file-4.12&quot;</code>
</resolution>
<references>
<uri link="http://securitytracker.com/id?1012433">SecurityTracker Alert ID 1012433</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1304">CVE-2004-1304</uri>
</references>
<metadata tag="requester" timestamp="Sat, 11 Dec 2004 10:27:20 +0000">
koon
</metadata>
<metadata tag="bugReady" timestamp="Sat, 11 Dec 2004 10:27:27 +0000">
koon
</metadata>
<metadata tag="submitter" timestamp="Sun, 12 Dec 2004 20:24:04 +0000">
vorlon078
</metadata>
</glsa>