blob: 7802a51d6a65e723a4b58a8f97386d4a47610d35 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200703-26">
<title>file: Integer underflow</title>
A buffer underflow vulnerability has been reported in file allowing for the
user-assisted execution of arbitrary code.
<product type="ebuild">file</product>
<announced>March 30, 2007</announced>
<revised>March 30, 2007: 01</revised>
<package name="sys-apps/file" auto="yes" arch="*">
<unaffected range="ge">4.20</unaffected>
<vulnerable range="lt">4.20</vulnerable>
file is a utility that guesses a file format by scanning binary data
for patterns.
Jean-Sebastien Guay-Leroux reported an integer underflow in
file_printf function.
<impact type="high">
A remote attacker could entice a user to run the "file" program on a
specially crafted file that would trigger a heap-based buffer overflow
possibly leading to the execution of arbitrary code with the rights of
the user running "file". Note that this vulnerability could be also
triggered through an automatic file scanner like amavisd-new.
There is no known workaround at this time.
Since file is a system package, all Gentoo users should upgrade to the
latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=sys-apps/file-4.20&quot;</code>
<uri link="">CVE-2007-1536</uri>
<metadata tag="requester" timestamp="Sat, 24 Mar 2007 17:59:07 +0000">
<metadata tag="submitter" timestamp="Mon, 26 Mar 2007 20:27:32 +0000">
<metadata tag="bugReady" timestamp="Thu, 29 Mar 2007 21:14:57 +0000">