Joined: 12 May 2004
|Posted: Tue Feb 27, 2007 4:26 pm Post subject: [ GLSA 200702-12 ] CHMlib: User-assisted remote execution of
|Gentoo Linux Security Advisory
Title: CHMlib: User-assisted remote execution of arbitrary code (GLSA 200702-12)
Date: February 27, 2007
Updated: May 20, 2008
A memory corruption vulnerability in CHMlib could lead to the remote execution of arbitrary code.
CHMlib is a library for the MS CHM (Compressed HTML) file format plus extracting and HTTP server utils.
Vulnerable: < 0.39
Unaffected: >= 0.39
Architectures: All supported architectures
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.
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.
There is no known workaround at this time.
All CHMlib users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/chmlib-0.39"
Last edited by GLSA on Wed May 21, 2008 4:18 am; edited 1 time in total