Linux Today: Linux News On Internet Time.

More on LinuxToday

Debian GNU/Linux Advisory: lha

Jun 07, 2004, 01:34 (0 Talkback[s])

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:

Size/MD5 checksum: 556 22b59156de011ddb84b0eaed4f174d2c
Size/MD5 checksum: 21414 0f990fd920ea4770dd088a97c1c87f18
Size/MD5 checksum: 64196 10410742b0169f3357ef9a3f0f032037

Alpha architecture:

Size/MD5 checksum: 64820 b7e55241026435e0c882178f6606f33b

ARM architecture:

Size/MD5 checksum: 55542 62be18e035d6faedb4d990f16081d74e

Intel IA-32 architecture:

Size/MD5 checksum: 50090 7548e83cb7049fe43243f804eb456ed7

Intel IA-64 architecture:

Size/MD5 checksum: 73588 32e62b8fbd0cf2ef64d7838d005ef19e

Motorola 680x0 architecture:

Size/MD5 checksum: 48632 bd5ce2c34a44952abf757993153fe238

PowerPC architecture:

Size/MD5 checksum: 55160 9d8225135b7c6abe443a4d0d4fc27245

IBM S/390 architecture:

Size/MD5 checksum: 53930 02c5e52b834539a30bd76f2e90265fb8

Sun Sparc architecture:

Size/MD5 checksum: 56526 8323a0469ef41c7fcf8b84c4b5f1a7ce

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

For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>