[41398] in bugtraq

home help back first fref pref prev next nref lref last post

[Full-disclosure] [ GLSA 200511-23 ] chmlib,

daemon@ATHENA.MIT.EDU (Thierry Carrez)
Tue Nov 29 12:50:52 2005

X-Original-To: full-disclosure@lists.grok.org.uk
Message-ID: <438AD987.6010800@gentoo.org>
Date: Mon, 28 Nov 2005 11:18:47 +0100
From: Thierry Carrez <koon@gentoo.org>
MIME-Version: 1.0
To: gentoo-announce@lists.gentoo.org
Cc: full-disclosure@lists.grok.org.uk, bugtraq@securityfocus.com,
        security-alerts@linuxsecurity.com
Content-Type: multipart/mixed; boundary="===============0480412357=="
Errors-To: full-disclosure-bounces@lists.grok.org.uk

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============0480412357==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig852F4D09DC4E21D2C4F7175B"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig852F4D09DC4E21D2C4F7175B
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200511-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: chmlib, KchmViewer: Stack-based buffer overflow
      Date: November 28, 2005
      Bugs: #110557
        ID: 200511-23

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

chmlib and KchmViewer contain a buffer overflow vulnerability which may
lead to the execution of arbitrary code.

Background
==========

chmlib is a library for dealing with Microsoft ITSS and CHM format
files. KchmViewer is a CHM viewer that includes its own copy of the
chmlib library.

Affected packages
=================

    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  app-doc/chmlib          < 0.37.4                        >= 0.37.4
  2  app-doc/kchmviewer        < 1.1                            >= 1.1
    -------------------------------------------------------------------
     2 affected packages on all of their supported architectures.
    -------------------------------------------------------------------

Description
===========

Sven Tantau reported about a buffer overflow vulnerability in chmlib.
The function "_chm_decompress_block()" does not properly perform
boundary checking, resulting in a stack-based buffer overflow.

Impact
======

By convincing a user to open a specially crafted ITSS or CHM file,
using KchmViewer or a program makes use of chmlib, a remote attacker
could execute arbitrary code with the privileges of the user running
the software.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All chmlib users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-doc/chmlib-0.37.4"

All KchmViewer users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-doc/kchmviewer-1.1"

References
==========

  [ 1 ] CVE-2005-3318
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3318

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200511-23.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0


--------------enig852F4D09DC4E21D2C4F7175B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDitmMvcL1obalX08RAlAsAJ9zpGwoS0IPrqSBr4ePQFUxaLp5jQCfW09P
QwLPdjSI4kSUGs0xlUfX1lI=
=0OvL
-----END PGP SIGNATURE-----

--------------enig852F4D09DC4E21D2C4F7175B--

--===============0480412357==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
--===============0480412357==--

home help back first fref pref prev next nref lref last post