Red Hat 8867 Published by

Updated LHA packages has been released for Red Hat Enterprise Linux

----------------------------------------------------------------------
Red Hat Security Advisory

Synopsis: An updated LHA package fixes security vulnerabilities
Advisory ID: RHSA-2004:178-01
Issue date: 2004-05-26
Updated on: 2004-05-26
Product: Red Hat Enterprise Linux
Keywords:
Cross references:
Obsoletes:
CVE Names: CAN-2004-0234 CAN-2004-0235
----------------------------------------------------------------------

1. Topic:

An updated LHA package that fixes several security vulnerabilities is now available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, ppc64, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64



3. Problem description:

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

Ulf Harnhammar discovered two stack buffer overflows and two directory traversal flaws in LHA. An attacker could exploit the buffer overflows by creating a carefully crafted LHA archive in such a way that arbitrary code would be executed when the archive is tested or extracted by a victim. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0234 to this issue. An attacker could exploit the directory traversal issues to create files as the victim outside of the expected directory. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0235 to this issue.

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

Red Hat would like to thank Ulf Harnhammar for disclosing and providing test cases and patches for these issues.

4. Solution:

Before applying this update, make sure all previously released errata relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs.

Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.

If up2date fails to connect to Red Hat Network due to SSL Certificate Errors, you need to install a version of the up2date client with an updated certificate. The latest version of up2date is available from the Red Hat FTP site and may also be downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

121417 - CAN-2004-0234/0235 lha security flaws

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/lha-1.00-17.2.src.rpm

i386:
Available from Red Hat Network: lha-1.00-17.2.i386.rpm

ia64:
Available from Red Hat Network: lha-1.00-17.2.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/lha-1.00-17.2.src.rpm

ia64:
Available from Red Hat Network: lha-1.00-17.2.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/lha-1.00-17.2.src.rpm

i386:
Available from Red Hat Network: lha-1.00-17.2.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/lha-1.00-17.2.src.rpm

i386:
Available from Red Hat Network: lha-1.00-17.2.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/lha-1.14i-10.2.src.rpm

i386:
Available from Red Hat Network: lha-1.14i-10.2.i386.rpm

ia64:
Available from Red Hat Network: lha-1.14i-10.2.ia64.rpm

ppc:
Available from Red Hat Network: lha-1.14i-10.2.ppc.rpm

ppc64:
Available from Red Hat Network: lha-1.14i-10.2.ppc64.rpm

s390:
Available from Red Hat Network: lha-1.14i-10.2.s390.rpm

s390x:
Available from Red Hat Network: lha-1.14i-10.2.s390x.rpm

x86_64:
Available from Red Hat Network: lha-1.14i-10.2.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/lha-1.14i-10.2.src.rpm

i386:
Available from Red Hat Network: lha-1.14i-10.2.i386.rpm

x86_64:
Available from Red Hat Network: lha-1.14i-10.2.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/lha-1.14i-10.2.src.rpm

i386:
Available from Red Hat Network: lha-1.14i-10.2.i386.rpm

ia64:
Available from Red Hat Network: lha-1.14i-10.2.ia64.rpm

x86_64:
Available from Red Hat Network: lha-1.14i-10.2.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/lha-1.14i-10.2.src.rpm

i386:
Available from Red Hat Network: lha-1.14i-10.2.i386.rpm

ia64:
Available from Red Hat Network: lha-1.14i-10.2.ia64.rpm

x86_64:
Available from Red Hat Network: lha-1.14i-10.2.x86_64.rpm



7. Verification:

MD5 sum Package Name
- --------------------------------------------------------------------------
0ceb31025cbcdaa4d18fe56532c70048 lha-1.00-17.2.i386.rpm
01f2796799bd5d4d1caf83f69acc012f lha-1.00-17.2.ia64.rpm
a9e3903dc77b14197d961cf6167d3b8f lha-1.00-17.2.src.rpm
5f50a72ea59153b1adfb32adb35ebeff lha-1.14i-10.2.i386.rpm
e56b64c3b595c376ccd0360725c733f4 lha-1.14i-10.2.ia64.rpm
3f3e7b671e9cbe6602bbda606b64748f lha-1.14i-10.2.ppc.rpm
5b6fb642e72961cf719ff3066ea2a1f8 lha-1.14i-10.2.ppc64.rpm
adccbb999af2fc786263f3a8353d3d33 lha-1.14i-10.2.s390.rpm
0b06a80cc7ced8b7c5bdfc6dac829d3f lha-1.14i-10.2.s390x.rpm
520561de0d3739bcadafc1a0184321fa lha-1.14i-10.2.src.rpm
449ad0dc6d72b287a6d1017fb2858073 lha-1.14i-10.2.x86_64.rpm


These packages are GPG signed by Red Hat for security. Our key is available from https://www.redhat.com/security/team/key.html

You can verify each package with the following command:

rpm --checksig -v

If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command:

md5sum


8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0234
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0235

9. Contact:

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

Copyright 2004 Red Hat, Inc.