GLSA-200611-24 : LHa: Multiple vulnerabilities

High Nessus Plugin ID 23746


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


The remote host is affected by the vulnerability described in GLSA-200611-24 (LHa: Multiple vulnerabilities)

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.


All LHa users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/lha-114i-r6'

See Also

Plugin Details

Severity: High

ID: 23746

File Name: gentoo_GLSA-200611-24.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2006/11/30

Modified: 2016/04/28

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:U/RL:ND/RC:UR

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:lha, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2006/11/28

Vulnerability Publication Date: 2006/09/20

Reference Information

CVE: CVE-2006-4335, CVE-2006-4336, CVE-2006-4337, CVE-2006-4338

OSVDB: 29005, 29006, 29007, 29008

GLSA: 200611-24