Security Advisory lha security update

Advisory: RHSA-2004:440-04
Type: Security Advisory
Severity: Important
Issued on: 2004-09-07
Last updated on: 2004-09-07
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
OVAL: N/A
CVEs (cve.mitre.org): CVE-2004-0694
CVE-2004-0745
CVE-2004-0769
CVE-2004-0771

Details

An updated lha package that fixes a buffer overflow is now available.

LHA is an archiving and compression utility for LHarc format archives.

Lukasz Wojtow discovered a stack-based buffer overflow in all versions
of lha up to and including version 1.14. A carefully created archive could
allow an attacker to execute arbitrary code when a victim extracts or tests
the archive. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-0769 to this issue.

Buffer overflows were discovered in the command line processing of all
versions of lha up to and including version 1.14. If a malicious user can
trick a victim into passing a specially crafted command line to the lha
command, it is possible that arbitrary code could be executed. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the
names CAN-2004-0771 and CAN-2004-0694 to these issues.

Thomas Biege discovered a shell meta character command execution
vulnerability in all versions of lha up to and including 1.14. An attacker
could create a directory with shell meta characters in its name which could
lead to arbitrary command execution. The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2004-0745 to
this issue.

Users of lha should update to this updated package which contains
backported patches and is not vulnerable to these issues.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied. Use Red Hat
Network to download and update your packages. To launch the Red Hat
Update Agent, use the following command:

up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

http://www.redhat.com/docs/manuals/enterprise/

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
lha-1.00-17.3.src.rpm     b1b6d9d7d549331766f710ba6c5bf494
 
IA-32:
lha-1.00-17.3.i386.rpm     3247304974c5a1ee592a1095a3a8c265
 
IA-64:
lha-1.00-17.3.ia64.rpm     1d13c396eab707b0603464455b4065e0
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
lha-1.00-17.3.src.rpm     b1b6d9d7d549331766f710ba6c5bf494
 
IA-32:
lha-1.00-17.3.i386.rpm     3247304974c5a1ee592a1095a3a8c265
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
lha-1.00-17.3.src.rpm     b1b6d9d7d549331766f710ba6c5bf494
 
IA-32:
lha-1.00-17.3.i386.rpm     3247304974c5a1ee592a1095a3a8c265
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
lha-1.00-17.3.src.rpm     b1b6d9d7d549331766f710ba6c5bf494
 
IA-64:
lha-1.00-17.3.ia64.rpm     1d13c396eab707b0603464455b4065e0
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

126740 - Buffer overflow in lha


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/