|
|
|
<?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 ">=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>
|