blob: a10f7a7b2c0d2de563b57f958c4a42c9d3f8d3ca [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200409-13">
<title>LHa: Multiple vulnerabilities</title>
Several buffer overflows and a shell metacharacter command execution
vulnerability have been found in LHa. These vulnerabilities can be used to
execute arbitrary code.
<product type="ebuild">lha</product>
<announced>September 08, 2004</announced>
<revised>October 20, 2006: 02</revised>
<package name="app-arch/lha" auto="yes" arch="*">
<unaffected range="rge">114i-r4</unaffected>
<vulnerable range="rle">114i-r3</vulnerable>
LHa is a console-based program for packing and unpacking LHarc archives.
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 type="normal">
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.
There is no known workaround at this time.
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"</code>
<uri link="">CAN-2004-0694</uri>
<uri link="">CAN-2004-0745</uri>
<uri link="">CAN-2004-0769</uri>
<uri link="">CAN-2004-0771</uri>
<metadata tag="submitter" timestamp="Wed, 8 Sep 2004 13:12:24 +0000">
<metadata tag="bugReady" timestamp="Wed, 8 Sep 2004 19:32:24 +0000">