1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 201309-21 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: klibc: Command Injection |
9 |
Date: September 26, 2013 |
10 |
Bugs: #369075 |
11 |
ID: 201309-21 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A vulnerability in klibc could allow remote attackers to execute |
19 |
arbitrary shell code. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
klibc is a minimalistic libc used for making an initramfs. |
25 |
|
26 |
Affected packages |
27 |
================= |
28 |
|
29 |
------------------------------------------------------------------- |
30 |
Package / Vulnerable / Unaffected |
31 |
------------------------------------------------------------------- |
32 |
1 dev-libs/klibc < 1.5.25 >= 1.5.25 |
33 |
|
34 |
Description |
35 |
=========== |
36 |
|
37 |
The ipconfig utility in klibc writes DHCP options to |
38 |
/tmp/net-$DEVICE.conf, and this file is later sourced by other scripts |
39 |
to get defined variables. The options written to this file are not |
40 |
properly escaped. |
41 |
|
42 |
Impact |
43 |
====== |
44 |
|
45 |
A remote attacker could send a specially crafted DHCP reply, which |
46 |
could execute arbitrary shell code with the privileges of any process |
47 |
which sources DHCP options. |
48 |
|
49 |
Workaround |
50 |
========== |
51 |
|
52 |
There is no known workaround at this time. |
53 |
|
54 |
Resolution |
55 |
========== |
56 |
|
57 |
All klibc users should upgrade to the latest version: |
58 |
|
59 |
# emerge --sync |
60 |
# emerge --ask --oneshot --verbose ">=dev-libs/klibc-1.5.25" |
61 |
|
62 |
References |
63 |
========== |
64 |
|
65 |
[ 1 ] CVE-2011-1930 |
66 |
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-1930 |
67 |
|
68 |
Availability |
69 |
============ |
70 |
|
71 |
This GLSA and any updates to it are available for viewing at |
72 |
the Gentoo Security Website: |
73 |
|
74 |
http://security.gentoo.org/glsa/glsa-201309-21.xml |
75 |
|
76 |
Concerns? |
77 |
========= |
78 |
|
79 |
Security is a primary focus of Gentoo Linux and ensuring the |
80 |
confidentiality and security of our users' machines is of utmost |
81 |
importance to us. Any security concerns should be addressed to |
82 |
security@g.o or alternatively, you may file a bug at |
83 |
https://bugs.gentoo.org. |
84 |
|
85 |
License |
86 |
======= |
87 |
|
88 |
Copyright 2013 Gentoo Foundation, Inc; referenced text |
89 |
belongs to its owner(s). |
90 |
|
91 |
The contents of this document are licensed under the |
92 |
Creative Commons - Attribution / Share Alike license. |
93 |
|
94 |
http://creativecommons.org/licenses/by-sa/2.5 |