Conectiva Linux Advisory: lha

Written By
Web Webster
Web Webster
May 10, 2004

CONECTIVA LINUX SECURITY ANNOUNCEMENT


PACKAGE : lha
SUMMARY : Buffer overflow and directory traversal
vulnerabilities
DATE : 2004-05-06 18:20:00
ID : CLA-2004:840
RELEVANT RELEASES : 8, 9


DESCRIPTION
Lha is an archiving and compression utility for LHarc format
archives.

Ulf Harnhammar discovered a buffer overflow[1] and a directory
traversal [2]vulnerability in the lha utility. Both vulnerabilities
can be exploited by an attacker with the use of specially crafted
LHarc archives. When processed by lha, these files may cause it to
execute arbitrary code (exploiting the buffer overflow
vulnerability) or overwrite arbitrary files if the user unpacking
the malicious archive has sufficient filesystem permissions to do
so (exploiting the directory traversal vulnerability).

This update fixes both issues.

SOLUTION
All users of the lha utility should upgrade.

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

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

UPDATED PACKAGES

ftp://atualizacoes.conectiva.com.br/8/RPMS/lha-1.14i-2U80_1cl.i386.rpm


ftp://atualizacoes.conectiva.com.br/8/SRPMS/lha-1.14i-2U80_1cl.src.rpm


ftp://atualizacoes.conectiva.com.br/9/RPMS/lha-1.14i-8382U90_1cl.i386.rpm


ftp://atualizacoes.conectiva.com.br/9/SRPMS/lha-1.14i-8382U90_1cl.src.rpm

ADDITIONAL INSTRUCTIONS
The apt tool can be used to perform RPM packages upgrades:

  • run: apt-get update
  • after that, execute: apt-get upgrade

Detailed instructions regarding the use of apt and upgrade
examples can be found at http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en


All packages are signed with Conectiva’s GPG key. The key and
instructions on how to import it can be found at
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can
be found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en


All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en


Advertisement

Copyright (c) 2004 Conectiva Inc.
http://www.conectiva.com

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.