Gentoo Archives: gentoo-announce

From: Luke Macken <lewk@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200506-16 ] cpio: Directory traversal vulnerability
Date: Mon, 20 Jun 2005 03:38:40
Message-Id: 20050620032254.GB14636@tomservo
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200506-16
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: cpio: Directory traversal vulnerability
9 Date: June 20, 2005
10 Bugs: #90619
11 ID: 200506-16
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 cpio contains a flaw which may allow a specially crafted cpio archive
19 to extract files to an arbitrary directory.
20
21 Background
22 ==========
23
24 cpio is a file archival tool which can also read and write tar files.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 app-arch/cpio < 2.6-r3 >= 2.6-r3
33
34 Description
35 ===========
36
37 A vulnerability has been found in cpio that can potentially allow a
38 cpio archive to extract its files to an arbitrary directory of the
39 creator's choice.
40
41 Impact
42 ======
43
44 An attacker could create a malicious cpio archive which would create
45 files in arbitrary locations on the victim's system. This issue could
46 also be used in conjunction with a previous race condition
47 vulnerability (CAN-2005-1111) to change permissions on files owned by
48 the victim.
49
50 Workaround
51 ==========
52
53 There is no known workaround at this time.
54
55 Resolution
56 ==========
57
58 All cpio users should upgrade to the latest version:
59
60 # emerge --sync
61 # emerge --ask --oneshot --verbose ">=app-arch/cpio-2.6-r3"
62
63 References
64 ==========
65
66 [ 1 ] Original Advisory
67 http://www.securityfocus.com/archive/1/396429
68 [ 2 ] CAN-2005-1111
69 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1111
70
71 Availability
72 ============
73
74 This GLSA and any updates to it are available for viewing at
75 the Gentoo Security Website:
76
77 http://security.gentoo.org/glsa/glsa-200506-16.xml
78
79 Concerns?
80 =========
81
82 Security is a primary focus of Gentoo Linux and ensuring the
83 confidentiality and security of our users machines is of utmost
84 importance to us. Any security concerns should be addressed to
85 security@g.o or alternatively, you may file a bug at
86 http://bugs.gentoo.org.
87
88 License
89 =======
90
91 Copyright 2005 Gentoo Foundation, Inc; referenced text
92 belongs to its owner(s).
93
94 The contents of this document are licensed under the
95 Creative Commons - Attribution / Share Alike license.
96
97 http://creativecommons.org/licenses/by-sa/2.0