Security Advisory Moderate: ruby security update

Advisory: RHSA-2008:0895-5
Type: Security Advisory
Severity: Moderate
Issued on: 2008-10-21
Last updated on: 2008-10-21
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux WS (v. 2.1)
OVAL: N/A
CVEs (cve.mitre.org): CVE-2008-3443
CVE-2008-3655

Details

Updated ruby packages that fix various security issues are now available
for Red Hat Enterprise Linux 2.1.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

Ruby is an interpreted scripting language for quick and easy
object-oriented programming.

A number of flaws were found in the safe-level restrictions in Ruby. It
was possible for an attacker to create a carefully crafted malicious script
that can allow the bypass of certain safe-level restrictions. (CVE-2008-3655)

A denial of service flaw was found in Ruby's regular expression engine. If
a Ruby script tried to process a large amount of data via a regular
expression, it could cause Ruby to enter an infinite-loop and crash.
(CVE-2008-3443)

Users of ruby should upgrade to these updated packages, which contain
backported patches to resolve these issues.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
ruby-1.6.4-7.el2.src.rpm     09dd65973ba3816aa9e9db2d4bc9faf9
 
IA-32:
irb-1.6.4-7.el2.i386.rpm     9862f57d29e85bc7eea8652f5f4885c0
ruby-1.6.4-7.el2.i386.rpm     9c8e6f5ca716c9a954617a20cc55729d
ruby-devel-1.6.4-7.el2.i386.rpm     c1c054fa0883f4ea9c0b8133cefacdc7
ruby-docs-1.6.4-7.el2.i386.rpm     3f27bb7cf77db9d2dc0f168f597b571f
ruby-libs-1.6.4-7.el2.i386.rpm     17ebe37f13d421ac35823b3885e017e8
ruby-tcltk-1.6.4-7.el2.i386.rpm     24e8280c379c23fa9b0bb551f25468ea
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
ruby-1.6.4-7.el2.src.rpm     09dd65973ba3816aa9e9db2d4bc9faf9
 
IA-32:
irb-1.6.4-7.el2.i386.rpm     9862f57d29e85bc7eea8652f5f4885c0
ruby-1.6.4-7.el2.i386.rpm     9c8e6f5ca716c9a954617a20cc55729d
ruby-devel-1.6.4-7.el2.i386.rpm     c1c054fa0883f4ea9c0b8133cefacdc7
ruby-docs-1.6.4-7.el2.i386.rpm     3f27bb7cf77db9d2dc0f168f597b571f
ruby-libs-1.6.4-7.el2.i386.rpm     17ebe37f13d421ac35823b3885e017e8
ruby-tcltk-1.6.4-7.el2.i386.rpm     24e8280c379c23fa9b0bb551f25468ea
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
ruby-1.6.4-7.el2.src.rpm     09dd65973ba3816aa9e9db2d4bc9faf9
 
IA-32:
irb-1.6.4-7.el2.i386.rpm     9862f57d29e85bc7eea8652f5f4885c0
ruby-1.6.4-7.el2.i386.rpm     9c8e6f5ca716c9a954617a20cc55729d
ruby-devel-1.6.4-7.el2.i386.rpm     c1c054fa0883f4ea9c0b8133cefacdc7
ruby-docs-1.6.4-7.el2.i386.rpm     3f27bb7cf77db9d2dc0f168f597b571f
ruby-libs-1.6.4-7.el2.i386.rpm     17ebe37f13d421ac35823b3885e017e8
ruby-tcltk-1.6.4-7.el2.i386.rpm     24e8280c379c23fa9b0bb551f25468ea
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

458948 - CVE-2008-3655 ruby: multiple insufficient safe mode restrictions
459266 - CVE-2008-3443 ruby: Memory allocation failure in Ruby regex engine (remotely exploitable DoS)


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/