You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/metadata/glsa/glsa-201001-09.xml

77 lines
2.4 KiB

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201001-09">
<title>Ruby: Terminal Control Character Injection</title>
<synopsis>
An input sanitation flaw in the WEBrick HTTP server included in Ruby might
allow remote attackers to inject arbitrary control characters into terminal
sessions.
</synopsis>
<product type="ebuild">ruby</product>
<announced>2010-01-14</announced>
<revised count="01">2010-01-14</revised>
<bug>300468</bug>
<access>remote</access>
<affected>
<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>
</package>
</affected>
<background>
<p>
Ruby is an interpreted scripting language for quick and easy
object-oriented programming. It comes bundled with a HTTP server
("WEBrick").
</p>
</background>
<description>
<p>
Giovanni Pellerano, Alessandro Tanasi and Francesco Ongaro reported
that WEBrick does not filter terminal control characters, for instance
when handling HTTP logs.
</p>
</description>
<impact type="normal">
<p>
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.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All Ruby 1.8.7 users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=dev-lang/ruby-1.8.7_p249"</code>
<p>
All Ruby 1.8.6 users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=dev-lang/ruby-1.8.6_p388"</code>
</resolution>
<references>
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4492">CVE-2009-4492</uri>
</references>
<metadata tag="requester" timestamp="2010-01-13T19:56:42Z">
a3li
</metadata>
<metadata tag="submitter" timestamp="2010-01-13T20:40:12Z">
a3li
</metadata>
<metadata tag="bugReady" timestamp="2010-01-13T20:40:18Z">
a3li
</metadata>
</glsa>