summaryrefslogtreecommitdiff
blob: 550b78fb94109d9aaa8c35056b2cfa956ad4a482 (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
<?xml version="1.0" encoding="utf-8"?>
<!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>2005-05-09</announced>
  <revised count="01">2005-05-09</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 "&gt;=app-arch/gzip-1.3.5-r6"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0758">CAN-2005-0758</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0988">CAN-2005-0988</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1228">CAN-2005-1228</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-05-06T19:23:26Z">
    r2d2
  </metadata>
  <metadata tag="bugReady" timestamp="2005-05-09T05:30:13Z">
    r2d2
  </metadata>
</glsa>