Gentoo Logo

CHMlib: User-assisted remote execution of arbitrary code

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200702-12 / CHMlib
Release Date February 27, 2007
Latest Revision May 20, 2008: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/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 ">=dev-libs/chmlib-0.39"

4.  References



Print

Page updated February 27, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.