blob: 1eeb4f5a5f5a3863a8e93ebb99556a85e3ae631b [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="201001-09">
<title>Ruby: Terminal Control Character Injection</title>
An input sanitation flaw in the WEBrick HTTP server included in Ruby might
allow remote attackers to inject arbitrary control characters into terminal
<product type="ebuild">ruby</product>
<announced>January 14, 2010</announced>
<revised>January 14, 2010: 01</revised>
<package name="dev-lang/ruby" auto="yes" arch="*">
<unaffected range="ge">1.8.7_p249</unaffected>
<unaffected range="rge">1.8.6_p388</unaffected>
<vulnerable range="lt">1.8.7_p249</vulnerable>
Ruby is an interpreted scripting language for quick and easy
object-oriented programming. It comes bundled with a HTTP server
Giovanni Pellerano, Alessandro Tanasi and Francesco Ongaro reported
that WEBrick does not filter terminal control characters, for instance
when handling HTTP logs.
<impact type="normal">
A remote attacker could send a specially crafted HTTP request to a
WEBrick server to inject arbitrary terminal control characters,
possibly resulting in the execution of arbitrary commands, data loss,
or other unspecified impact. This could also be used to facilitate
other attacks.
There is no known workaround at this time.
All Ruby 1.8.7 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=dev-lang/ruby-1.8.7_p249&quot;</code>
All Ruby 1.8.6 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=dev-lang/ruby-1.8.6_p388&quot;</code>
<uri link="">CVE-2009-4492</uri>
<metadata tag="requester" timestamp="Wed, 13 Jan 2010 19:56:42 +0000">
<metadata tag="submitter" timestamp="Wed, 13 Jan 2010 20:40:12 +0000">
<metadata tag="bugReady" timestamp="Wed, 13 Jan 2010 20:40:18 +0000">