summaryrefslogtreecommitdiff
blob: 0b6152d7fd26d0fb62b1e8fb78f62f99b69158b6 (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
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200511-23">
  <title>chmlib, KchmViewer: Stack-based buffer overflow</title>
  <synopsis>
    chmlib and KchmViewer contain a buffer overflow vulnerability which may
    lead to the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">chmlib kchmviewer</product>
  <announced>2005-11-28</announced>
  <revised count="03">2009-05-28</revised>
  <bug>110557</bug>
  <access>remote</access>
  <affected>
    <package name="dev-libs/chmlib" auto="yes" arch="*">
      <unaffected range="ge">0.37.4</unaffected>
      <vulnerable range="lt">0.37.4</vulnerable>
    </package>
    <package name="app-text/kchmviewer" auto="yes" arch="*">
      <unaffected range="ge">1.1</unaffected>
      <vulnerable range="lt">1.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    chmlib is a library for dealing with Microsoft ITSS and CHM format
    files. KchmViewer is a CHM viewer that includes its own copy of the
    chmlib library.
    </p>
  </background>
  <description>
    <p>
    Sven Tantau reported about a buffer overflow vulnerability in
    chmlib. The function "_chm_decompress_block()" does not properly
    perform boundary checking, resulting in a stack-based buffer overflow.
    </p>
  </description>
  <impact type="normal">
    <p>
    By convincing a user to open a specially crafted ITSS or CHM file,
    using KchmViewer or a program makes use of chmlib, a remote attacker
    could execute arbitrary code with the privileges of the user running
    the software.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All chmlib users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-libs/chmlib-0.37.4"</code>
    <p>
    All KchmViewer users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-text/kchmviewer-1.1"</code>
  </resolution>
  <references>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3318">CVE-2005-3318</uri>
  </references>
  <metadata tag="requester" timestamp="2005-11-25T10:03:15Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-11-26T02:10:11Z">
    adir
  </metadata>
  <metadata tag="bugReady" timestamp="2005-11-27T20:16:26Z">
    adir
  </metadata>
</glsa>