LHA extract_one buffer overflows
|lha-extractone-bo (16196)||High Risk|
LHA is vulnerable to two buffer overflows in the extract_one function, caused by improper bounds checking. A remote attacker exploit this vulnerability to overflow the buffer and possibly execute arbitrary code on the victim's system.
For Red Hat Linux:
Upgrade to the latest lha package, as listed below. Refer to RHSA-2004:323-09 and RHSA-2004:440-04 for more information. See References.
Red Hat Enterprise Linux AS (v. 3), ES (v. 3), WS (v. 3), Desktop: 1.14i-10.4.x86_64 or later
Red Hat Enterprise Linux AS (v. 2.1), ES (v. 2.1), WS (v. 2.1), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor: 1.00-17.3 or later
For Gentoo Linux:
Upgrade to the latest version of lha (114i-r4 or later), as listed in GLSA 200409-13. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
- BugTraq Mailing List, Sat May 15 2004 - 06:09:00 CDT : lha buffer overflow(s) again.
- BugTraq Mailing List, Wed Jun 09 2004 - 20:11:17 CDT: Re: [SECURITY] [DSA 515-1] New lha packages fix several vulnerabilities; Re:.
- CIAC Information Bulletin 0-210: LHA Packages Buffer Overflow Vulnerability.
- BID-10354: LHA Multiple extract_one Buffer Overflow Vulnerabilities
- BID-11093: LHA Multiple Code Execution Vulnerabilities
- CVE-2004-0771: Buffer overflow in the extract_one function from lhext.c in LHA may allow attackers to execute arbitrary code via a long w (working directory) command line option, a different issue than CVE-2004-0769. NOTE: this issue may be REJECTED if there are not any cases in which LHA is setuid or is otherwise used across security boundaries.
- GLSA-200409-13: LHa: Multiple vulnerabilities
- RHSA-2004-323: lha security update
- RHSA-2004-440: lha security update
- Gentoo Linux
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 2.1 AW
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 AS
- RedHat Linux Advanced Workstation 2.1 Itanium
- Tsugio Okamoto LHA
May 15, 2004
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this