summaryrefslogtreecommitdiff
blob: 5900b3a0ec3448154c50d80fe8d13239269dd1a7 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200709-09">
  <title>GNU Tar: Directory traversal vulnerability</title>
  <synopsis>
    A directory traversal vulnerability has been discovered in GNU Tar.
  </synopsis>
  <product type="ebuild">tar</product>
  <announced>2007-09-15</announced>
  <revised count="01">2007-09-15</revised>
  <bug>189682</bug>
  <access>remote</access>
  <affected>
    <package name="app-arch/tar" auto="yes" arch="*">
      <unaffected range="ge">1.18-r2</unaffected>
      <vulnerable range="lt">1.18-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    The GNU Tar program provides the ability to create tar archives, as
    well as various other kinds of manipulation.
    </p>
  </background>
  <description>
    <p>
    Dmitry V. Levin discovered a directory traversal vulnerability in the
    contains_dot_dot() function in file src/names.c.
    </p>
  </description>
  <impact type="normal">
    <p>
    By enticing a user to extract a specially crafted tar archive, a remote
    attacker could extract files to arbitrary locations outside of the
    specified directory with the permissions of the user running GNU Tar.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All GNU Tar users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-arch/tar-1.18-r2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4131">CVE-2007-4131</uri>
  </references>
  <metadata tag="submitter" timestamp="2007-09-13T18:11:35Z">
    mfleming
  </metadata>
  <metadata tag="bugReady" timestamp="2007-09-13T18:49:13Z">
    mfleming
  </metadata>
</glsa>