Gentoo Logo

Ruby: Denial of Service

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200906-02 / ruby
Release Date June 28, 2009
Latest Revision June 28, 2009: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-lang/ruby < 1.8.6_p369 >= 1.8.6_p369 All supported architectures

Related bugreports: #273213

Synopsis

A flaw in the Ruby standard library might allow remote attackers to cause a Denial of Service attack.

2.  Impact Information

Background

Ruby is an interpreted object-oriented programming language. The elaborate standard library includes the "BigDecimal" class.

Description

Tadayoshi Funaba reported that BigDecimal in ext/bigdecimal/bigdecimal.c does not properly handle string arguments containing overly long numbers.

Impact

A remote attacker could exploit this issue to remotely cause a Denial of Service attack.

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_p369"

4.  References



Print

Page updated June 28, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.