summaryrefslogtreecommitdiff
blob: f526ea900f97aa7d1b6d11f4b86201d858e86aa5 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200411-16">
  <title>zip: Path name buffer overflow</title>
  <synopsis>
    zip contains a buffer overflow when creating a ZIP archive of files with
    very long path names. This could lead to the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">zip</product>
  <announced>2004-11-09</announced>
  <revised count="02">2006-05-22</revised>
  <bug>70227</bug>
  <access>remote</access>
  <affected>
    <package name="app-arch/zip" auto="yes" arch="*">
      <unaffected range="ge">2.3-r4</unaffected>
      <vulnerable range="le">2.3-r3</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    zip is a compression and file packaging utility.
    </p>
  </background>
  <description>
    <p>
    zip does not check the resulting path length when doing recursive
    folder compression.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could exploit this by enticing another user or web
    application to create an archive including a specially-crafted path
    name, potentially resulting in the execution of arbitrary code with the
    permissions of the user running zip.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All zip users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-arch/zip-2.3-r4"</code>
  </resolution>
  <references>
    <uri link="http://www.hexview.com/docs/20041103-1.txt">HexView zip Advisory</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1010">CVE-2004-1010</uri>
  </references>
  <metadata tag="requester" timestamp="2004-11-07T18:59:20Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-11-08T15:14:42Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-11-08T20:46:08Z">
    jaervosz
  </metadata>
</glsa>