summaryrefslogtreecommitdiff
blob: 18bb38e8f8f65c779160805c2147939dcfe5d7a7 (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
65
66
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200707-06">
  <title>XnView: Stack-based buffer overflow</title>
  <synopsis>
    XnView is vulnerable to a stack-based buffer overflow and possible remote
    code execution when handling XPM image files.
  </synopsis>
  <product type="ebuild">xnview</product>
  <announced>2007-07-11</announced>
  <revised count="01">2007-07-11</revised>
  <bug>175670</bug>
  <access>remote</access>
  <affected>
    <package name="x11-misc/xnview" auto="yes" arch="x86">
      <vulnerable range="lt">1.70</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    XnView is software to view and convert graphics files. XPixMap (XPM) is
    a simple ascii-based graphics format.
    </p>
  </background>
  <description>
    <p>
    XnView is vulnerable to a stack-based buffer overflow while processing
    an XPM file with an overly long section string (greater than 1024
    bytes).
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could entice a user to view a specially crafted XPM file
    with XnView that could trigger the vulnerability and possibly execute
    arbitrary code with the rights of the user running XnView.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    No update appears to be forthcoming from the XnView developer and
    XnView is proprietary, so the XnView package has been masked in
    Portage. We recommend that users select an alternate graphics viewer
    and conversion utility, and unmerge XnView:
    </p>
    <code>
    # emerge --unmerge xnview</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2194">CVE-2007-2194</uri>
  </references>
  <metadata tag="requester" timestamp="2007-07-01T10:38:47Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2007-07-02T18:12:51Z">
    aetius
  </metadata>
  <metadata tag="bugReady" timestamp="2007-07-11T19:39:42Z">
    DerCorny
  </metadata>
</glsa>