Alerts This Week
Warning Icon 1 923
Alerts This Week
Warning Icon 1 923

Gentoo: GLSA 201001-09 Normal: Ruby Terminal Control Injection Threat

gentoo
Calendar Grey January 14, 2010
Dist Gentoo Esm H88
Gentoo advisory GLSA 202110-02 details a Python buffer overflow vulnerability. Update to protect your environment.
An input sanitation flaw in the WEBrick HTTP server included in Ruby might allow remote attackers to inject arbitrary control characters into terminal sessions

Summary

Giovanni Pellerano, Alessandro Tanasi and Francesco Ongaro reported that WEBrick does not filter terminal control characters, for instance when handling HTTP logs.

Resolution

All Ruby 1.8.7 users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.7_p249"
All Ruby 1.8.6 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.6_p388"

References

[ 1 ] CVE-2009-4492 https://www.cve.org/CVERecord?id=CVE-2009-4492

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201001-09
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity: Normal
Title: Ruby: Terminal Control Character Injection
Date: January 14, 2010
Bugs: #300468
ID: 201001-09

Synopsis

An input sanitation flaw in the WEBrick HTTP server included in Ruby might allow remote attackers to inject arbitrary control charactersinto terminal sessions.

Background

Ruby is an interpreted scripting language for quick and easy object-oriented programming. It comes bundled with a HTTP server ("WEBrick").

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 dev-lang/ruby < 1.8.7_p249 >= 1.8.7_p249 *>= 1.8.6_p388

Impact

===== 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.

Workaround

There is no known workaround at this time.

Your message here