blob: 242c4fd92630f2c63d87fc4805275be1b9db5918 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200705-25">
<title>file: Integer overflow</title>
An integer overflow vulnerability has been reported in file allowing for
the user-assisted execution of arbitrary code.
<product type="ebuild">file</product>
<announced>May 31, 2007</announced>
<revised>June 01, 2007: 02</revised>
<package name="sys-apps/file" auto="yes" arch="x86 ppc hppa">
<unaffected range="ge">4.21</unaffected>
<vulnerable range="lt">4.21</vulnerable>
file is a utility that guesses a file format by scanning binary data
for patterns.
Colin Percival from FreeBSD reported that the previous fix for the
file_printf() buffer overflow introduced a new integer overflow.
<impact type="high">
A remote attacker could entice a user to run the file program on an
overly large file (more than 1Gb) that would trigger an integer
overflow on 32-bit systems, possibly leading to the execution of
arbitrary code with the rights of the user running file.
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.21&quot;</code>
<uri link="">CVE-2007-2799</uri>
<metadata tag="submitter" timestamp="Mon, 28 May 2007 10:04:58 +0000">
<metadata tag="bugReady" timestamp="Thu, 31 May 2007 06:59:45 +0000">