Gentoo Archives: gentoo-announce

From: Alex Legler <a3li@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 201001-09 ] Ruby: Terminal Control Character Injection
Date: Thu, 14 Jan 2010 15:11:04
Message-Id: 20100114160511.26f9badf@mail.a3li.li
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201001-09
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: Ruby: Terminal Control Character Injection
9 Date: January 14, 2010
10 Bugs: #300468
11 ID: 201001-09
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An input sanitation flaw in the WEBrick HTTP server included in Ruby
19 might allow remote attackers to inject arbitrary control characters
20 into terminal sessions.
21
22 Background
23 ==========
24
25 Ruby is an interpreted scripting language for quick and easy
26 object-oriented programming. It comes bundled with a HTTP server
27 ("WEBrick").
28
29 Affected packages
30 =================
31
32 -------------------------------------------------------------------
33 Package / Vulnerable / Unaffected
34 -------------------------------------------------------------------
35 1 dev-lang/ruby < 1.8.7_p249 >= 1.8.7_p249
36 *>= 1.8.6_p388
37
38 Description
39 ===========
40
41 Giovanni Pellerano, Alessandro Tanasi and Francesco Ongaro reported
42 that WEBrick does not filter terminal control characters, for instance
43 when handling HTTP logs.
44
45 Impact
46 ======
47
48 A remote attacker could send a specially crafted HTTP request to a
49 WEBrick server to inject arbitrary terminal control characters,
50 possibly resulting in the execution of arbitrary commands, data loss,
51 or other unspecified impact. This could also be used to facilitate
52 other attacks.
53
54 Workaround
55 ==========
56
57 There is no known workaround at this time.
58
59 Resolution
60 ==========
61
62 All Ruby 1.8.7 users should upgrade to the latest version:
63
64 # emerge --sync
65 # emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.7_p249"
66
67 All Ruby 1.8.6 users should upgrade to the latest version:
68
69 # emerge --sync
70 # emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.6_p388"
71
72 References
73 ==========
74
75 [ 1 ] CVE-2009-4492
76 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4492
77
78 Availability
79 ============
80
81 This GLSA and any updates to it are available for viewing at
82 the Gentoo Security Website:
83
84 http://security.gentoo.org/glsa/glsa-201001-09.xml
85
86 Concerns?
87 =========
88
89 Security is a primary focus of Gentoo Linux and ensuring the
90 confidentiality and security of our users machines is of utmost
91 importance to us. Any security concerns should be addressed to
92 security@g.o or alternatively, you may file a bug at
93 https://bugs.gentoo.org.
94
95 License
96 =======
97
98 Copyright 2010 Gentoo Foundation, Inc; referenced text
99 belongs to its owner(s).
100
101 The contents of this document are licensed under the
102 Creative Commons - Attribution / Share Alike license.
103
104 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature