1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 201311-21 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: cpio: Arbitrary code execution |
9 |
Date: November 28, 2013 |
10 |
Bugs: #314663 |
11 |
ID: 201311-21 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A heap-based buffer overflow in cpio might allow a remote rmt server to |
19 |
execute arbitrary code or cause a Denial of Service condition. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
GNU cpio copies files into or out of a cpio or tar archive. |
25 |
|
26 |
Affected packages |
27 |
================= |
28 |
|
29 |
------------------------------------------------------------------- |
30 |
Package / Vulnerable / Unaffected |
31 |
------------------------------------------------------------------- |
32 |
1 app-arch/cpio < 2.11 >= 2.11 |
33 |
|
34 |
Description |
35 |
=========== |
36 |
|
37 |
Cpio contains a heap-based buffer overflow in the rmt_read__ function |
38 |
in lib/rtapelib.c. |
39 |
|
40 |
Impact |
41 |
====== |
42 |
|
43 |
A remote server could sending more data than was requested, related to |
44 |
archive filenames that contain a : (colon) character, possibly |
45 |
resulting in execution of arbitrary code or a Denial of Service |
46 |
condition. |
47 |
|
48 |
Workaround |
49 |
========== |
50 |
|
51 |
There is no known workaround at this time. |
52 |
|
53 |
Resolution |
54 |
========== |
55 |
|
56 |
All cpio users should upgrade to the latest version: |
57 |
|
58 |
# emerge --sync |
59 |
# emerge --ask --oneshot --verbose ">=app-arch/cpio-2.11" |
60 |
|
61 |
References |
62 |
========== |
63 |
|
64 |
[ 1 ] CVE-2010-0624 |
65 |
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-0624 |
66 |
|
67 |
Availability |
68 |
============ |
69 |
|
70 |
This GLSA and any updates to it are available for viewing at |
71 |
the Gentoo Security Website: |
72 |
|
73 |
http://security.gentoo.org/glsa/glsa-201311-21.xml |
74 |
|
75 |
Concerns? |
76 |
========= |
77 |
|
78 |
Security is a primary focus of Gentoo Linux and ensuring the |
79 |
confidentiality and security of our users' machines is of utmost |
80 |
importance to us. Any security concerns should be addressed to |
81 |
security@g.o or alternatively, you may file a bug at |
82 |
https://bugs.gentoo.org. |
83 |
|
84 |
License |
85 |
======= |
86 |
|
87 |
Copyright 2013 Gentoo Foundation, Inc; referenced text |
88 |
belongs to its owner(s). |
89 |
|
90 |
The contents of this document are licensed under the |
91 |
Creative Commons - Attribution / Share Alike license. |
92 |
|
93 |
http://creativecommons.org/licenses/by-sa/2.5 |