blob: eb0cf915c826333753ac62d562dabcd11ea5b3de [file] [log] [blame]
<?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>February 27, 2007</announced>
<revised>May 20, 2008: 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 &quot;&gt;=dev-libs/chmlib-0.39&quot;</code>
</resolution>
<references>
<uri link="http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=468">Original Advisory</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0619">CVE-2007-0619</uri>
</references>
<metadata tag="requester" timestamp="Sat, 10 Feb 2007 21:22:08 +0000">
falco
</metadata>
<metadata tag="bugReady" timestamp="Sat, 10 Feb 2007 23:53:10 +0000">
falco
</metadata>
<metadata tag="submitter" timestamp="Tue, 13 Feb 2007 11:35:38 +0000">
daxomatic
</metadata>
</glsa>