summaryrefslogtreecommitdiff
blob: a10f7a7b2c0d2de563b57f958c4a42c9d3f8d3ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">

<glsa id="200409-13">
  <title>LHa: Multiple vulnerabilities</title>
  <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.
  </synopsis>
  <product type="ebuild">lha</product>
  <announced>September 08, 2004</announced>
  <revised>October 20, 2006: 02</revised>
  <bug>62618</bug>
  <access>remote</access>
  <affected>
    <package name="app-arch/lha" auto="yes" arch="*">
      <unaffected range="rge">114i-r4</unaffected>
      <vulnerable range="rle">114i-r3</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    LHa is a console-based program for packing and unpacking LHarc archives.
    </p>
  </background>
  <description>
    <p>
    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.
    </p>
  </description>
  <impact type="normal">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All LHa users should upgrade to the latest stable version:
    </p>
    <code>
    # emerge sync

    # emerge -pv ">=app-arch/lha-114i-r4"
    # emerge ">=app-arch/lha-114i-r4"</code>
  </resolution>
  <references>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0694">CAN-2004-0694</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0745">CAN-2004-0745</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0769">CAN-2004-0769</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0771">CAN-2004-0771</uri>
  </references>
  <metadata tag="submitter" timestamp="Wed,  8 Sep 2004 13:12:24 +0000">
    vorlon078
  </metadata>
  <metadata tag="bugReady" timestamp="Wed,  8 Sep 2004 19:32:24 +0000">
    jaervosz
  </metadata>
</glsa>