Skip to navigation

CVE Database


Impact: Critical
Public: 2013-11-22
CWE: CWE-228->CWE-119
Bugzilla: 1033460: CVE-2013-4164 ruby: heap overflow in floating point parsing


The MITRE CVE dictionary describes this issue as:

Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse.

Find out more about CVE-2013-4164 from the MITRE CVE dictionary and NIST NVD.


This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 5.

CVSS v2 metrics

Base Score: 7.5
Base Metrics: AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector: Network
Access Complexity: Low
Authentication: None
Confidentiality Impact: Partial
Integrity Impact: Partial
Availability Impact: Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat security errata

Platform Errata Release Date
Cloudforms_managementengine RHSA-2014:0215 March 11, 2014
Red Hat Enterprise Linux OpenStack Platform 3.0 (ruby193-ruby) RHSA-2014:0011 January 07, 2014
Red Hat Enterprise Linux Server EUS (v. 6.2) (ruby) RHSA-2013:1767 November 26, 2013
Red Hat Enterprise Linux Server EUS (v. 6.3) (ruby) RHSA-2013:1767 November 26, 2013
Red Hat Enterprise Linux Server EUS (v. 6.4) (ruby) RHSA-2013:1767 November 26, 2013
Red Hat Enterprise Linux version 6 (ruby) RHSA-2013:1764 November 25, 2013
Red Hat Software Collections for RHEL 6 Server (ruby193-ruby) RHSA-2013:1763 November 25, 2013

External References

This page is generated automatically and has not been checked for errors or omissions.

For clarification or corrections please contact the Red Hat Security Response Team.