summaryrefslogtreecommitdiff
blob: 03e17a7727d2c319fef2358d2a53af4446148907 (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
68
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200506-16">
  <title>cpio: Directory traversal vulnerability</title>
  <synopsis>
    cpio contains a flaw which may allow a specially crafted cpio archive to
    extract files to an arbitrary directory.
  </synopsis>
  <product type="ebuild">cpio</product>
  <announced>2005-06-20</announced>
  <revised count="01">2005-06-20</revised>
  <bug>90619</bug>
  <access>local</access>
  <affected>
    <package name="app-arch/cpio" auto="yes" arch="*">
      <unaffected range="ge">2.6-r3</unaffected>
      <vulnerable range="lt">2.6-r3</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    cpio is a file archival tool which can also read and write tar
    files.
    </p>
  </background>
  <description>
    <p>
    A vulnerability has been found in cpio that can potentially allow
    a cpio archive to extract its files to an arbitrary directory of the
    creator's choice.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could create a malicious cpio archive which would
    create files in arbitrary locations on the victim's system. This issue
    could also be used in conjunction with a previous race condition
    vulnerability (CAN-2005-1111) to change permissions on files owned by
    the victim.
    </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.6-r3"</code>
  </resolution>
  <references>
    <uri link="http://www.securityfocus.com/archive/1/396429">Original Advisory</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1111">CAN-2005-1111</uri>
  </references>
  <metadata tag="requester" timestamp="2005-05-03T21:22:45Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2005-05-05T15:24:08Z">
    lewk
  </metadata>
  <metadata tag="bugReady" timestamp="2005-06-19T20:39:43Z">
    jaervosz
  </metadata>
</glsa>