summaryrefslogtreecommitdiff
blob: b840f42db610ac02a36e00f439cc135088b3d00c (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="200505-05">
  <title>gzip: Multiple vulnerabilities</title>
  <synopsis>
    gzip contains multiple vulnerabilities potentially allowing an attacker to
    execute arbitrary commands.
  </synopsis>
  <product type="ebuild">gzip</product>
  <announced>May 09, 2005</announced>
  <revised>May 09, 2005: 01</revised>
  <bug>89946</bug>
  <bug>90626</bug>
  <access>local</access>
  <affected>
    <package name="app-arch/gzip" auto="yes" arch="*">
      <unaffected range="ge">1.3.5-r6</unaffected>
      <vulnerable range="lt">1.3.5-r6</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    gzip (GNU zip) is a popular compression program. The included
    zgrep utility allows you to grep gzipped files in place.
    </p>
  </background>
  <description>
    <p>
    The gzip and gunzip programs are vulnerable to a race condition
    when setting file permissions (CAN-2005-0988), as well as improper
    handling of filename restoration (CAN-2005-1228). The zgrep utility
    improperly sanitizes arguments, which may come from an untrusted source
    (CAN-2005-0758).
    </p>
  </description>
  <impact type="normal">
    <p>
    These vulnerabilities could allow arbitrary command execution,
    changing the permissions of arbitrary files, and installation of files
    to an aribitrary location in the filesystem.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All gzip users should upgrade to the latest stable version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=app-arch/gzip-1.3.5-r6&quot;</code>
  </resolution>
  <references>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0758">CAN-2005-0758</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0988">CAN-2005-0988</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1228">CAN-2005-1228</uri>
  </references>
  <metadata tag="submitter" timestamp="Fri, 06 May 2005 19:23:26 +0000">
    r2d2
  </metadata>
  <metadata tag="bugReady" timestamp="Mon, 09 May 2005 05:30:13 +0000">
    r2d2
  </metadata>
</glsa>