GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Tue Nov 28, 2006 9:26 pm Post subject: [ GLSA 200611-24 ] LHa: Multiple vulnerabilities |
|
|
Gentoo Linux Security Advisory
Title: LHa: Multiple vulnerabilities (GLSA 200611-24)
Severity: normal
Exploitable: remote
Date: November 28, 2006
Bug(s): #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: app-arch/lha
Vulnerable: < 114i-r6
Unaffected: >= 114i-r6
Architectures: All supported architectures
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: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/lha-114i-r6" |
References
CVE-2006-4335
CVE-2006-4336
CVE-2006-4337
CVE-2006-4338 |
|