summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-201611-19.xml
blob: 346d55be73141a40050a1272f6a155c1e86932b0 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201611-19">
  <title>Tar: Extract pathname bypass</title>
  <synopsis>A path traversal attack in Tar may lead to the remote execution of
    arbitrary code.
  </synopsis>
  <product type="ebuild">tar</product>
  <announced>2016-11-22</announced>
  <revised count="2">2016-11-22</revised>
  <bug>598334</bug>
  <access>remote</access>
  <affected>
    <package name="app-arch/tar" auto="yes" arch="*">
      <unaffected range="ge">1.29-r1</unaffected>
      <vulnerable range="lt">1.29-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>The Tar program provides the ability to create and manipulate tar
      archives.
    </p>
  </background>
  <description>
    <p>Tar attempts to avoid path traversal attacks by removing offending parts
      of the element name at extract. This sanitizing leads to a vulnerability
      where the attacker can bypass the path name(s) specified on the command
      line.
    </p>
  </description>
  <impact type="normal">
    <p>The attacker can create a crafted tar archive that, if extracted by the
      victim, replaces files and directories the victim has access to in the
      target directory, regardless of the path name(s) specified on the command
      line.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All Tar users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-arch/tar-1.29-r1"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-6321">CVE-2016-6321</uri>
  </references>
  <metadata tag="requester" timestamp="2016-11-11T06:05:11Z">b-man</metadata>
  <metadata tag="submitter" timestamp="2016-11-22T11:59:11Z">b-man</metadata>
</glsa>