GLSA 200906-02: Ruby: Denial of Service

Severity:normal
Title:Ruby: Denial of Service
Date:06/28/2009
Bugs: #273213
ID:200906-02

Synopsis

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

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-lang/ruby < 1.8.6_p369 >= 1.8.6_p369 All supported architectures

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.

Workaround

There is no known workaround at this time.

Resolution

All Ruby users should upgrade to the latest version:

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

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200906-02.xml

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.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!