summaryrefslogtreecommitdiff
blob: 242c4fd92630f2c63d87fc4805275be1b9db5918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">

<glsa id="200705-25">
  <title>file: Integer overflow</title>
  <synopsis>
    An integer overflow vulnerability has been reported in file allowing for
    the user-assisted execution of arbitrary code.
  </synopsis>
  <product type="ebuild">file</product>
  <announced>May 31, 2007</announced>
  <revised>June 01, 2007: 02</revised>
  <bug>179583</bug>
  <access>remote</access>
  <affected>
    <package name="sys-apps/file" auto="yes" arch="x86 ppc hppa">
      <unaffected range="ge">4.21</unaffected>
      <vulnerable range="lt">4.21</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    file is a utility that guesses a file format by scanning binary data
    for patterns.
    </p>
  </background>
  <description>
    <p>
    Colin Percival from FreeBSD reported that the previous fix for the
    file_printf() buffer overflow introduced a new integer overflow.
    </p>
  </description>
  <impact type="high">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    Since file is a system package, all Gentoo users should upgrade to the
    latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=sys-apps/file-4.21&quot;</code>
  </resolution>
  <references>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2799">CVE-2007-2799</uri>
  </references>
  <metadata tag="submitter" timestamp="Mon, 28 May 2007 10:04:58 +0000">
    falco
  </metadata>
  <metadata tag="bugReady" timestamp="Thu, 31 May 2007 06:59:45 +0000">
    jaervosz
  </metadata>
</glsa>