Bugtraq mailing list archives

[ GLSA 200611-24 ] LHa: Multiple vulnerabilities


From: Raphael Marichez <falco () gentoo org>
Date: Tue, 28 Nov 2006 20:56:20 +0100

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200611-24
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: LHa: Multiple vulnerabilities
      Date: November 28, 2006
      Bugs: #151252
        ID: 200611-24

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

Synopsis
========

LHa is affected by several vulnerabilities including the remote
execution of arbitrary code.

Background
==========

LHa is a console-based program for packing and unpacking LHarc
archives.

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

    -------------------------------------------------------------------
     Package       /  Vulnerable  /                         Unaffected
    -------------------------------------------------------------------
  1  app-arch/lha      < 114i-r6                            >= 114i-r6

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

Tavis Ormandy of the Google Security Team discovered several
vulnerabilities in the LZH decompression component used by LHa. The
make_table function of unlzh.c contains an array index error and a
buffer overflow vulnerability. The build_tree function of unpack.c
contains a buffer underflow vulnerability. Additionally, unlzh.c
contains a code that could run in an infinite loop.

Impact
======

By enticing a user to uncompress a specially crafted archive, a remote
attacker could cause a Denial of Service by CPU consumption or execute
arbitrary code with the rights of the user running the application.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All LHa users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/lha-114i-r6"

References
==========

  [ 1 ] CVE-2006-4335
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4335
  [ 2 ] CVE-2006-4336
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4336
  [ 3 ] CVE-2006-4337
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4337
  [ 4 ] CVE-2006-4338
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4338

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

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

  http://security.gentoo.org/glsa/glsa-200611-24.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 2006 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.5

Attachment: _bin
Description:


Current thread: