summaryrefslogtreecommitdiff
blob: 577026d4d86126b591e916770f22bb4df0bef60d (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200702-12">
  <title>CHMlib: User-assisted remote execution of arbitrary code</title>
  <synopsis>
    A memory corruption vulnerability in CHMlib could lead to the remote
    execution of arbitrary code.
  </synopsis>
  <product type="ebuild">CHMlib</product>
  <announced>2007-02-27</announced>
  <revised>2008-05-20: 02</revised>
  <bug>163989</bug>
  <access>remote</access>
  <affected>
    <package name="dev-libs/chmlib" auto="yes" arch="*">
      <unaffected range="ge">0.39</unaffected>
      <vulnerable range="lt">0.39</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    CHMlib is a library for the MS CHM (Compressed HTML) file format plus
    extracting and HTTP server utils.
    </p>
  </background>
  <description>
    <p>
    When certain CHM files that contain tables and objects stored in pages
    are parsed by CHMlib, an unsanitized value is passed to the alloca()
    function resulting in a shift of the stack pointer to arbitrary memory
    locations.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could entice a user to open a specially crafted CHM file,
    resulting in the execution of arbitrary code with the permissions of
    the user viewing the file.
    </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.39"</code>
  </resolution>
  <references>
    <uri link="http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=468">Original Advisory</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0619">CVE-2007-0619</uri>
  </references>
  <metadata tag="requester" timestamp="2007-02-10T21:22:08Z">
    falco
  </metadata>
  <metadata tag="bugReady" timestamp="2007-02-10T23:53:10Z">
    falco
  </metadata>
  <metadata tag="submitter" timestamp="2007-02-13T11:35:38Z">
    daxomatic
  </metadata>
</glsa>