GLSA Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Wed Sep 08, 2004 10:34 pm Post subject: [ GLSA 200409-13 ] LHa: Multiple vulnerabilities |
|
|
Gentoo Linux Security Advisory
Title: LHa: Multiple vulnerabilities (GLSA 200409-13)
Severity: normal
Exploitable: remote
Date: September 08, 2004
Updated: October 20, 2006
Bug(s): #62618
ID: 200409-13
Synopsis
Several buffer overflows and a shell metacharacter command execution vulnerability have been found in LHa. These vulnerabilities can be used to execute arbitrary code.
Background
LHa is a console-based program for packing and unpacking LHarc archives.
Affected Packages
Package: app-arch/lha
Vulnerable: > 114i114i <= 114i-r3
Unaffected: >= 114i-r4 < 114i115
Architectures: All supported architectures
Description
The command line argument as well as the archive parsing code of LHa lack sufficient bounds checking. Furthermore, a shell meta character command execution vulnerability exists in LHa, since it does no proper filtering on directory names.
Impact
Using a specially crafted command line argument or archive, an attacker can cause a buffer overflow and could possibly run arbitrary code. The shell meta character command execution could lead to the execution of arbitrary commands by an attacker using directories containing shell meta characters in their names.
Workaround
There is no known workaround at this time.
Resolution
All LHa users should upgrade to the latest stable version: Code: | # emerge sync
# emerge -pv ">=app-arch/lha-114i-r4"
# emerge ">=app-arch/lha-114i-r4" |
References
CAN-2004-0694
CAN-2004-0745
CAN-2004-0769
CAN-2004-0771
Last edited by GLSA on Sat Oct 21, 2006 4:16 am; edited 2 times in total |
|