GLSA 200409-13: LHa: Multiple vulnerabilities

Severity:normal
Title:LHa: Multiple vulnerabilities
Date:09/08/2004
Bugs: #62618
ID:200409-13

Synopsis

Several buffer overflows and a shell metacharacter command execution vulnerability have been found in LHa. These vulnerabilities can be used to execute arbitrary code.

Background

LHa is a console-based program for packing and unpacking LHarc archives.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-arch/lha 114i-r3 >= 114i-r4 All supported architectures

Description

The command line argument as well as the archive parsing code of LHa lack sufficient bounds checking. Furthermore, a shell meta character command execution vulnerability exists in LHa, since it does no proper filtering on directory names.

Impact

Using a specially crafted command line argument or archive, an attacker can cause a buffer overflow and could possibly run arbitrary code. The shell meta character command execution could lead to the execution of arbitrary commands by an attacker using directories containing shell meta characters in their names.

Workaround

There is no known workaround at this time.

Resolution

All LHa users should upgrade to the latest stable version:

    # emerge sync

    # emerge -pv ">=app-arch/lha-114i-r4"
    # emerge ">=app-arch/lha-114i-r4"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200409-13.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!