Ruby: Multiple vulnerabilities

Security Team  Contact Address

Updated December 16, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200812-17 / ruby
Release Date December 16, 2008
Latest Revision December 16, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-lang/ruby < 1.8.6_p287-r1 >= 1.8.6_p287-r1 All supported architectures

Related bugreports: #225465, #236060

Synopsis

Multiple vulnerabilities have been discovered in Ruby that allow for attacks including arbitrary code execution and Denial of Service.

2.  Impact Information

Background

Ruby is an interpreted object-oriented programming language. The elaborate standard library includes an HTTP server ("WEBRick") and a class for XML parsing ("REXML").

Description

Multiple vulnerabilities have been discovered in the Ruby interpreter and its standard libraries. Drew Yao of Apple Product Security discovered the following flaws:

Furthermore, several other vulnerabilities have been reported:

Impact

These vulnerabilities allow remote attackers to execute arbitrary code, spoof DNS responses, bypass Ruby's built-in security and taintness checks, and cause a Denial of Service via crash or CPU exhaustion.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Ruby users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.6_p287-r1"

4.  References