summaryrefslogtreecommitdiff
blob: 594b2fca7f4b001364cfd624a5aaf44fbad11265 (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
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">

<glsa id="200410-01">
  <title>sharutils: Buffer overflows in shar.c and unshar.c</title>
  <synopsis>
    sharutils contains two buffer overflow vulnerabilities that could lead to
    arbitrary code execution.
  </synopsis>
  <product type="ebuild">sharutils</product>
  <announced>October 01, 2004</announced>
  <revised>May 22, 2006: 02</revised>
  <bug>65773</bug>
  <access>remote</access>
  <affected>
    <package name="app-arch/sharutils" auto="yes" arch="*">
      <unaffected range="ge">4.2.1-r10</unaffected>
      <vulnerable range="le">4.2.1-r9</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    sharutils contains utilities to manage shell archives.
    </p>
  </background>
  <description>
    <p>
    sharutils contains two buffer overflows. Ulf Harnhammar discovered a
    buffer overflow in shar.c, where the length of data returned by the wc
    command is not checked. Florian Schilhabel discovered another buffer
    overflow in unshar.c.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could exploit these vulnerabilities to execute arbitrary
    code as the user running one of the sharutils programs.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All sharutils users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync
    
    # emerge -pv &quot;&gt;=app-arch/sharutils-4.2.1-r10&quot;
    # emerge &quot;&gt;=app-arch/sharutils-4.2.1-r10&quot;</code>
  </resolution>
  <references>
    <uri link="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=265904">Debian Bug #265904</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1773">CVE-2004-1773</uri>
  </references>
  <metadata tag="requester" timestamp="Thu, 30 Sep 2004 04:54:59 +0000">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="Thu, 30 Sep 2004 18:01:09 +0000">
    jaervosz
  </metadata>
  <metadata tag="bugReady" timestamp="Fri,  1 Oct 2004 08:08:15 +0000">
    jaervosz
  </metadata>
</glsa>