GLSA-200702-12 : CHMlib: User-assisted remote execution of arbitrary code

This script is Copyright (C) 2007-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200702-12
(CHMlib: User-assisted remote execution of arbitrary code)

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.

Workaround :

There is no known workaround at this time.

See also :

http://www.nessus.org/u?1687293e
http://www.gentoo.org/security/en/glsa/glsa-200702-12.xml

Solution :

All CHMlib users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-libs/chmlib-0.39'

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 24732 (gentoo_GLSA-200702-12.nasl)

Bugtraq ID:

CVE ID: CVE-2007-0619