summaryrefslogtreecommitdiff
blob: a410f4d5bd9f63e5500a9bd28c5b1c531194a587 (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
<?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>2004-12-13</announced>
  <revised count="02">2006-05-22</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 "&gt;=sys-apps/file-4.12"</code>
  </resolution>
  <references>
    <uri link="http://securitytracker.com/id?1012433">SecurityTracker Alert ID 1012433</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1304">CVE-2004-1304</uri>
  </references>
  <metadata tag="requester" timestamp="2004-12-11T10:27:20Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-12-11T10:27:27Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-12-12T20:24:04Z">
    vorlon078
  </metadata>
</glsa>