CHMlib: User-assisted remote execution of arbitrary code
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200702-12 / CHMlib |
| Release Date |
February 27, 2007 |
| Latest Revision |
February 27, 2007: 01 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| app-doc/chmlib |
<
0.39 |
>=
0.39 |
All supported architectures
|
Related bugreports:
#163989
Synopsis
A memory corruption vulnerability in CHMlib could lead to the remote
execution of arbitrary code.
2.
Impact Information
Background
CHMlib is a library for the MS CHM (Compressed HTML) file format plus
extracting and HTTP server utils.
Description
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.
Impact
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All CHMlib users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-doc/chmlib-0.39"
|
4.
References
|