Debian 10242 Published by

A new lha package has been released for Debian GNU/Linux

---------------------------------------------------------------------------
Debian Security Advisory DSA 515-1 security@debian.org
http://www.debian.org/security/ Matt Zimmerman
June 5th, 2004 http://www.debian.org/security/faq
---------------------------------------------------------------------------

Package : lha
Vulnerability : several
Problem-Type : local
Debian-specific: no
CVE Ids : CAN-2004-0234 CAN-2004-0235

Two vulnerabilities were discovered in lha:

- CAN-2004-0234 - Multiple stack-based buffer overflows in the get_header function in header.c for LHA 1.14 allow remote attackers or local users to execute arbitrary code via long directory or file names in an LHA archive, which triggers the overflow when testing or extracting the archive.

- CAN-2004-0235 - Multiple directory traversal vulnerabilities in LHA 1.14 allow remote attackers or local users to create arbitrary files via an LHA archive containing filenames with (1) .. sequences or (2) absolute pathnames with double leading slashes ("//absolute/path").

For the current stable distribution (woody), these problems have been fixed in version 1.14i-2woody1.

For the unstable distribution (sid), these problems have been fixed in version 1.14i-8.

We recommend that you update your lha package.



Upgrade Instructions
---------------------

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody
---------------------------------

Source archives:

http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1.dsc
Size/MD5 checksum: 556 22b59156de011ddb84b0eaed4f174d2c
http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1.diff.gz
Size/MD5 checksum: 21414 0f990fd920ea4770dd088a97c1c87f18
http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i.orig.tar.gz
Size/MD5 checksum: 64196 10410742b0169f3357ef9a3f0f032037

Alpha architecture:

http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_alpha.deb
Size/MD5 checksum: 64820 b7e55241026435e0c882178f6606f33b

ARM architecture:

http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_arm.deb
Size/MD5 checksum: 55542 62be18e035d6faedb4d990f16081d74e

Intel IA-32 architecture:

http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_i386.deb
Size/MD5 checksum: 50090 7548e83cb7049fe43243f804eb456ed7

Intel IA-64 architecture:

http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_ia64.deb
Size/MD5 checksum: 73588 32e62b8fbd0cf2ef64d7838d005ef19e

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_m68k.deb
Size/MD5 checksum: 48632 bd5ce2c34a44952abf757993153fe238

PowerPC architecture:

http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_powerpc.deb
Size/MD5 checksum: 55160 9d8225135b7c6abe443a4d0d4fc27245

IBM S/390 architecture:

http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_s390.deb
Size/MD5 checksum: 53930 02c5e52b834539a30bd76f2e90265fb8

Sun Sparc architecture:

http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_sparc.deb
Size/MD5 checksum: 56526 8323a0469ef41c7fcf8b84c4b5f1a7ce

These files will probably be moved into the stable distribution on its next revision.