[41400] in bugtraq
[Full-disclosure] [ GLSA 200511-23 ] chmlib,
daemon@ATHENA.MIT.EDU (koon@gentoo.org)
Tue Nov 29 13:11:53 2005
X-Original-To: full-disclosure@lists.grok.org.uk
MIME-Version: 1.0
Date: Mon, 28 Nov 2005 13:33:21 -0500
To: gentoo-announce@lists.gentoo.org, bugtraq@securityfocus.com,
        full-disclosure@lists.grok.org.uk, security-alerts@linuxsecurity.com
From: koon@gentoo.org
Content-Type: multipart/mixed;
	boundary="----=_NextPart_d1d_983d_97fd41a9.ea77ff5b_.MIX"
Message-ID: <CHILKAT-MID-4c4d5a49-df75-4f2b-9ccb-14853c1d3d7c@George_NewPC.Redsoft-2000.com>
Cc: 
Errors-To: full-disclosure-bounces@lists.grok.org.uk
This is a multi-part message in MIME format.
------=_NextPart_d1d_983d_97fd41a9.ea77ff5b_.MIX
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
=3D=3D=3D=3D=3D=3D=3D=3D
chmlib and KchmViewer contain a buffer overflow vulnerability which may
lead to the execution of arbitrary code.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  app-doc/chmlib          < 0.37.4                        >=3D 0.37.4
  2  app-doc/kchmviewer        < 1.1                            >=3D 1.1
    -------------------------------------------------------------------
     2 affected packages on all of their supported architectures.
    -------------------------------------------------------------------
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
There is no known workaround at this time.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All chmlib users should upgrade to the latest version:
    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dapp-doc/chmlib-0.37.4"
All KchmViewer users should upgrade to the latest version:
    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dapp-doc/kchmviewer-1.1"
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
  [ 1 ] CVE-2005-3318
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2005-331=
8
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D=3D=3D
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
------=_NextPart_d1d_983d_97fd41a9.ea77ff5b_.MIX
Content-Type: application/octet-stream;
	name="2#signature.asc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="2#signature.asc"
LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxLjQuMSAo
R05VL0xpbnV4KQ0KDQppRDhEQlFGRGl0bU12Y0wxb2JhbFgwOFJBbEFzQUo5enBHd29TMElQ
cnFTQnI0ZVBRRlV4YUxwNWpRQ2ZXMDlQDQpRd0xQZGpTSTRrU1VHczB4bFVmWDFsST0NCj0w
T3ZMDQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg==
------=_NextPart_d1d_983d_97fd41a9.ea77ff5b_.MIX
Content-Type: text/plain;
	name="GWAVADAT.TXT"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="GWAVADAT.TXT"
AdmID:14CEBD009CD852C830A45E676601856E
------=_NextPart_d1d_983d_97fd41a9.ea77ff5b_.MIX
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/
------=_NextPart_d1d_983d_97fd41a9.ea77ff5b_.MIX--