summaryrefslogtreecommitdiff
blob: 80e0970856a1eaa56b694751a67d39d9618617db (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="201311-21">
  <title>cpio: Arbitrary code execution </title>
  <synopsis>A heap-based buffer overflow in cpio might allow a remote rmt
    server to execute arbitrary code or cause a Denial of Service condition.
  </synopsis>
  <product type="ebuild">cpio</product>
  <announced>2013-11-28</announced>
  <revised count="1">2013-11-28</revised>
  <bug>314663</bug>
  <access>remote</access>
  <affected>
    <package name="app-arch/cpio" auto="yes" arch="*">
      <unaffected range="ge">2.11</unaffected>
      <vulnerable range="lt">2.11</vulnerable>
    </package>
  </affected>
  <background>
    <p>GNU cpio copies files into or out of a cpio or tar archive.</p>
  </background>
  <description>
    <p>Cpio contains a heap-based buffer overflow in the rmt_read__ function in
      lib/rtapelib.c.
    </p>
  </description>
  <impact type="normal">
    <p>A remote server could sending more data than was requested, related to
      archive filenames that contain a : (colon) character, possibly resulting
      in execution of arbitrary code or a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All cpio users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-arch/cpio-2.11"
    </code>
    
  </resolution>
  <references>
    <uri link="https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-0624">
      CVE-2010-0624
    </uri>
  </references>
  <metadata tag="requester" timestamp="2011-10-07T23:37:31Z">
    underling
  </metadata>
  <metadata tag="submitter" timestamp="2013-11-28T08:19:10Z">Zlogene</metadata>
</glsa>