SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


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:  1029391
SecurityTracker URL:  http://securitytracker.com/id/1029391
CVE Reference:   CVE-2013-4164   (Links to External Site)
Date:  Nov 25 2013
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.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2013-1763.html

Vendor URL:  www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  6

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-2013:1763-01] Critical: ruby193-ruby security update

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Critical: ruby193-ruby security update
Advisory ID:       RHSA-2013:1763-01
Product:           Red Hat Software Collections
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-1763.html
Issue date:        2013-11-25
CVE Names:         CVE-2013-4164 
=====================================================================

1. Summary:

Updated ruby193-ruby packages that fix one security issue are now available
for Red Hat Software Collections 1.

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:

Red Hat Software Collections for RHEL 6 Server - noarch, x86_64
Red Hat Software Collections for RHEL 6 Workstation - 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
tasks.

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)

All ruby193-ruby users are advised to upgrade to these updated packages,
which contain a backported patch to 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
https://access.redhat.com/site/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

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

6. Package List:

Red Hat Software Collections for RHEL 6 Server:

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHSCL/SRPMS/ruby193-ruby-1.9.3.448-40.1.el6.src.rpm

noarch:
ruby193-ruby-irb-1.9.3.448-40.1.el6.noarch.rpm
ruby193-rubygem-minitest-2.5.1-40.1.el6.noarch.rpm
ruby193-rubygem-rake-0.9.2.2-40.1.el6.noarch.rpm
ruby193-rubygems-1.8.23-40.1.el6.noarch.rpm
ruby193-rubygems-devel-1.8.23-40.1.el6.noarch.rpm

x86_64:
ruby193-ruby-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-debuginfo-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-devel-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-doc-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-libs-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-tcltk-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-rubygem-bigdecimal-1.1.0-40.1.el6.x86_64.rpm
ruby193-rubygem-io-console-0.3-40.1.el6.x86_64.rpm
ruby193-rubygem-json-1.5.5-40.1.el6.x86_64.rpm
ruby193-rubygem-rdoc-3.9.5-40.1.el6.x86_64.rpm

Red Hat Software Collections for RHEL 6 Workstation:

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/RHSCL/SRPMS/ruby193-ruby-1.9.3.448-40.1.el6.src.rpm

noarch:
ruby193-ruby-irb-1.9.3.448-40.1.el6.noarch.rpm
ruby193-rubygem-minitest-2.5.1-40.1.el6.noarch.rpm
ruby193-rubygem-rake-0.9.2.2-40.1.el6.noarch.rpm
ruby193-rubygems-1.8.23-40.1.el6.noarch.rpm
ruby193-rubygems-devel-1.8.23-40.1.el6.noarch.rpm

x86_64:
ruby193-ruby-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-debuginfo-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-devel-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-doc-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-libs-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-ruby-tcltk-1.9.3.448-40.1.el6.x86_64.rpm
ruby193-rubygem-bigdecimal-1.1.0-40.1.el6.x86_64.rpm
ruby193-rubygem-io-console-0.3-40.1.el6.x86_64.rpm
ruby193-rubygem-json-1.5.5-40.1.el6.x86_64.rpm
ruby193-rubygem-rdoc-3.9.5-40.1.el6.x86_64.rpm

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

7. References:

https://www.redhat.com/security/data/cve/CVE-2013-4164.html
https://access.redhat.com/security/updates/classification/#critical

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFSk6AXXlSAg2UNWIIRAuUiAJ9ygmM2BNNIYdj5QQHzsBT1CIK/iwCeOnZy
a+TW2+Q16iNwxLCgKO6o4os=
=1V+I
-----END PGP SIGNATURE-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
 
 


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, SecurityGlobal.net LLC