summaryrefslogtreecommitdiff
blob: b6d222131b7e29b36593a8c790c186f92650a3fa (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201402-19">
  <title>libtar: Arbitraty code execution</title>
  <synopsis>A buffer overflow in libtar might allow remote attackers to execute
    arbitrary code or cause a Denial of Service condition.
  </synopsis>
  <product type="ebuild">libtar</product>
  <announced>2014-02-21</announced>
  <revised count="1">2014-02-21</revised>
  <bug>487420</bug>
  <access>remote</access>
  <affected>
    <package name="dev-libs/libtar" auto="yes" arch="*">
      <unaffected range="ge">1.2.20-r2</unaffected>
      <vulnerable range="lt">1.2.20-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>libtar is a C library for manipulating POSIX tar files.</p>
  </background>
  <description>
    <p>An integer overflow error within the “th_read()” function when
      processing long names or link extensions can be exploited to cause a
      heap-based buffer overflow via a specially crafted archive.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to open a specially crafted file
      using a program linked against libtar, possibly resulting in execution of
      arbitrary code with the privileges of the process or a Denial of Service
      condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All libtar users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-libs/libtar-1.2.20-r2"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4397">CVE-2013-4397</uri>
  </references>
  <metadata tag="requester" timestamp="2013-10-28T17:33:28Z">
    pinkbyte
  </metadata>
  <metadata tag="submitter" timestamp="2014-02-21T07:32:05Z">
    pinkbyte
  </metadata>
</glsa>