Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   Ruby Vendors:   Matsumoto, Yukihiro
(Red Hat Issues Fix) Ruby Heap Overflow in Floating Point Parsing Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1029555
SecurityTracker URL:
CVE Reference:   CVE-2013-4164   (Links to External Site)
Date:  Jan 7 2014
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.8.x, and 1.9.x and 2.x prior to 1.9.3 patchlevel 484, 2.0.0 patchlevel 353, 2.1.0 preview2
Description:   A vulnerability was reported in Ruby. A remote user can execute arbitrary code on the target system.

A remote user can send specially crafted string data that, when converted to a floating point value, will trigger a heap overflow and execute arbitrary code on the target system. The code will run with the privileges of the target service.

Charlie Somerville reported this vulnerability.

Impact:   A remote user can execute arbitrary code on the target system.
Solution:   Red Hat has issued a fix for Red Hat OpenStack.

The Red Hat advisory is available at:

Vendor URL: (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Red Hat Enterprise)

Message History:   This archive entry is a follow-up to the message listed below.
Nov 22 2013 Ruby Heap Overflow in Floating Point Parsing Lets Remote Users Execute Arbitrary Code

 Source Message Contents

Subject:  [RHSA-2014:0011-01] Critical: ruby193-ruby security update

Hash: SHA1

                   Red Hat Security Advisory

Synopsis:          Critical: ruby193-ruby security update
Advisory ID:       RHSA-2014:0011-01
Product:           Red Hat OpenStack
Advisory URL:
Issue date:        2014-01-07
CVE Names:         CVE-2013-4164 

1. Summary:

Updated ruby193-ruby packages that fix one security issue are now available
for Red Hat OpenStack 3.0.

The Red Hat Security Response Team has rated this update as having critical
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Relevant releases/architectures:

OpenStack 3 - noarch, x86_64

3. Description:

Ruby is an extensible, interpreted, object-oriented, scripting language.
It has features to process text files and to perform system management

A buffer overflow flaw was found in the way Ruby parsed floating point
numbers from their text representation. If an application using Ruby
accepted untrusted input strings and converted them to floating point
numbers, an attacker able to provide such input could cause the application
to crash or, possibly, execute arbitrary code with the privileges of the
application. (CVE-2013-4164)

Users of Red Hat OpenStack 3.0 are advised to upgrade to these updated
packages, which correct this issue.

4. Solution:

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

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at

5. Bugs fixed (

1033460 - CVE-2013-4164 ruby: heap overflow in floating point parsing

6. Package List:

OpenStack 3:




These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from

7. References:

8. Contact:

The Red Hat security contact is <>.  More contact
details at

Copyright 2014 Red Hat, Inc.
Version: GnuPG v1.4.4 (GNU/Linux)


Enterprise-watch-list mailing list

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC