Debian GNU/Linux Advisory: lha

Written By
Web Webster
Web Webster
Jun 7, 2004

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

Advertisement

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 680×0 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.


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>

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.