Buffer overflow and directory traversal vulnerabilities

Ulf Härnhammar discovered a buffer overflow and a directory traversal 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).

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

Ulf Härnhammar 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).

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