ruby: heap overflow in floating point parsing
Published Nov 23, 2013
6.8
MEDIUMCVSS 2.0
EPSS 34.97%
Description
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.
Affected products
No data.
No data.
CloudForms Management Engine 5.x
cfme-0:5.2.2.3-1.el6cf
Fixed · RHSA-2014:0215
CloudForms Management Engine 5.x
ruby193-ruby-0:1.9.3.448-40.1.el6
Fixed · RHSA-2014:0215
CloudForms Management Engine 5.x
ruby193-rubygem-actionpack-1:3.2.13-5.el6cf
Fixed · RHSA-2014:0215
CloudForms Management Engine 5.x
ruby193-rubygem-amq-protocol-0:1.9.2-3.el6cf
Fixed · RHSA-2014:0215
CloudForms Management Engine 5.x
ruby193-rubygem-bunny-0:1.0.7-1.el6cf
Fixed · RHSA-2014:0215
CloudForms Management Engine 5.x
ruby193-rubygem-excon-0:0.31.0-1.el6cf
Fixed · RHSA-2014:0215
CloudForms Management Engine 5.x
ruby193-rubygem-fog-0:1.19.0-1.el6cf
Fixed · RHSA-2014:0215
CloudForms Management Engine 5.x
ruby193-rubygem-linux_admin-0:0.7.0-1.el6cf
Fixed · RHSA-2014:0215
CloudForms Management Engine 5.x
ruby193-rubygem-more_core_extensions-0:1.1.2-1.el6cf
Fixed · RHSA-2014:0215
CloudForms Management Engine 5.x
ruby193-rubygem-nokogiri-0:1.5.6-3.el6cf
Fixed · RHSA-2014:0215
OpenStack 3 for RHEL 6
ruby193-ruby-0:1.9.3.448-40.1.el6
Fixed · RHSA-2014:0011
Red Hat Enterprise Linux 6
ruby-0:1.8.7.352-13.el6
Fixed · RHSA-2013:1764
Red Hat Enterprise Linux 6.2 EUS - Server and Compute Node Only
ruby-0:1.8.7.352-13.el6_2
Fixed · RHSA-2013:1767
Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only
ruby-0:1.8.7.352-13.el6_3
Fixed · RHSA-2013:1767
Red Hat Enterprise Linux 6.4 Extended Update Support
ruby-0:1.8.7.352-13.el6_4
Fixed · RHSA-2013:1767
Red Hat Software Collections for RHEL-6
ruby193-ruby-0:1.9.3.448-40.1.el6
Fixed · RHSA-2013:1763
CloudForms Management Engine 5
mingw-ruby
Affected
OpenShift Enterprise 1
ruby193-ruby
Will not fix
Red Hat Enterprise Linux 4
ruby
Not affected
Red Hat Enterprise Linux 5
ruby
Not affected
Red Hat Enterprise Linux 7
ruby
Not affected
Red Hat OpenStack Platform 4
ruby193-ruby
Affected
Red Hat Satellite 6
ruby193-ruby
Affected
Red Hat Subscription Asset Manager
ruby193-ruby
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms Management Engine 5.x | cfme-0:5.2.2.3-1.el6cf | Fixed | RHSA-2014:0215 |
| CloudForms Management Engine 5.x | ruby193-ruby-0:1.9.3.448-40.1.el6 | Fixed | RHSA-2014:0215 |
| CloudForms Management Engine 5.x | ruby193-rubygem-actionpack-1:3.2.13-5.el6cf | Fixed | RHSA-2014:0215 |
| CloudForms Management Engine 5.x | ruby193-rubygem-amq-protocol-0:1.9.2-3.el6cf | Fixed | RHSA-2014:0215 |
| CloudForms Management Engine 5.x | ruby193-rubygem-bunny-0:1.0.7-1.el6cf | Fixed | RHSA-2014:0215 |
| CloudForms Management Engine 5.x | ruby193-rubygem-excon-0:0.31.0-1.el6cf | Fixed | RHSA-2014:0215 |
| CloudForms Management Engine 5.x | ruby193-rubygem-fog-0:1.19.0-1.el6cf | Fixed | RHSA-2014:0215 |
| CloudForms Management Engine 5.x | ruby193-rubygem-linux_admin-0:0.7.0-1.el6cf | Fixed | RHSA-2014:0215 |
| CloudForms Management Engine 5.x | ruby193-rubygem-more_core_extensions-0:1.1.2-1.el6cf | Fixed | RHSA-2014:0215 |
| CloudForms Management Engine 5.x | ruby193-rubygem-nokogiri-0:1.5.6-3.el6cf | Fixed | RHSA-2014:0215 |
| OpenStack 3 for RHEL 6 | ruby193-ruby-0:1.9.3.448-40.1.el6 | Fixed | RHSA-2014:0011 |
| Red Hat Enterprise Linux 6 | ruby-0:1.8.7.352-13.el6 | Fixed | RHSA-2013:1764 |
| Red Hat Enterprise Linux 6.2 EUS - Server and Compute Node Only | ruby-0:1.8.7.352-13.el6_2 | Fixed | RHSA-2013:1767 |
| Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only | ruby-0:1.8.7.352-13.el6_3 | Fixed | RHSA-2013:1767 |
| Red Hat Enterprise Linux 6.4 Extended Update Support | ruby-0:1.8.7.352-13.el6_4 | Fixed | RHSA-2013:1767 |
| Red Hat Software Collections for RHEL-6 | ruby193-ruby-0:1.9.3.448-40.1.el6 | Fixed | RHSA-2013:1763 |
| CloudForms Management Engine 5 | mingw-ruby | Affected | n/a |
| OpenShift Enterprise 1 | ruby193-ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 4 | ruby | Not affected | n/a |
| Red Hat Enterprise Linux 5 | ruby | Not affected | n/a |
| Red Hat Enterprise Linux 7 | ruby | Not affected | n/a |
| Red Hat OpenStack Platform 4 | ruby193-ruby | Affected | n/a |
| Red Hat Satellite 6 | ruby193-ruby | Affected | n/a |
| Red Hat Subscription Asset Manager | ruby193-ruby | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 5.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (47 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 34.97% (0.34968) | 98.39th | v5 (v2026.06.15) |
| Jun 15, 2026 | 34.97% (0.34968) | 98.22th | v5 (v2026.06.15) |
| Mar 4, 2026 | 11.96% (0.11958) | 93.62th | v4 (v2025.03.14) |
| Mar 1, 2026 | 22.56% (0.22560) | 95.76th | v4 (v2025.03.14) |
| Feb 4, 2026 | 11.96% (0.11958) | 93.58th | v4 (v2025.03.14) |
| Feb 1, 2026 | 22.56% (0.22560) | 95.72th | v4 (v2025.03.14) |
| Jan 4, 2026 | 11.28% (0.11281) | 93.29th | v4 (v2025.03.14) |
| Jan 1, 2026 | 21.46% (0.21460) | 95.57th | v4 (v2025.03.14) |
| Dec 28, 2025 | 11.28% (0.11281) | 93.29th | v4 (v2025.03.14) |
| Dec 27, 2025 | 12.32% (0.12317) | 93.68th | v4 (v2025.03.14) |
| Dec 14, 2025 | 11.28% (0.11281) | 93.27th | v4 (v2025.03.14) |
| Dec 4, 2025 | 16.45% (0.16449) | 94.62th | v4 (v2025.03.14) |
| Dec 1, 2025 | 22.17% (0.22170) | 95.60th | v4 (v2025.03.14) |
| Nov 4, 2025 | 16.45% (0.16449) | 94.60th | v4 (v2025.03.14) |
| Nov 1, 2025 | 22.17% (0.22170) | 95.58th | v4 (v2025.03.14) |
| Oct 28, 2025 | 16.45% (0.16449) | 94.59th | v4 (v2025.03.14) |
| Oct 27, 2025 | 17.84% (0.17843) | 94.86th | v4 (v2025.03.14) |
| Oct 4, 2025 | 16.45% (0.16449) | 94.64th | v4 (v2025.03.14) |
| Oct 1, 2025 | 22.17% (0.22170) | 95.62th | v4 (v2025.03.14) |
| Sep 11, 2025 | 17.84% (0.17843) | 94.89th | v4 (v2025.03.14) |
| Sep 4, 2025 | 11.06% (0.11056) | 93.20th | v4 (v2025.03.14) |
| Sep 1, 2025 | 20.36% (0.20357) | 95.35th | v4 (v2025.03.14) |
| Aug 4, 2025 | 11.06% (0.11056) | 93.16th | v4 (v2025.03.14) |
| Aug 1, 2025 | 20.36% (0.20357) | 95.33th | v4 (v2025.03.14) |
| Jul 4, 2025 | 11.06% (0.11056) | 93.13th | v4 (v2025.03.14) |
| Jul 1, 2025 | 20.36% (0.20357) | 95.27th | v4 (v2025.03.14) |
| Jun 22, 2025 | 11.06% (0.11056) | 93.11th | v4 (v2025.03.14) |
| Jun 5, 2025 | 12.32% (0.12317) | 93.50th | v4 (v2025.03.14) |
| Jun 4, 2025 | 17.84% (0.17843) | 94.78th | v4 (v2025.03.14) |
| Jun 1, 2025 | 23.88% (0.23880) | 95.74th | v4 (v2025.03.14) |
| May 4, 2025 | 18.23% (0.18230) | 94.81th | v4 (v2025.03.14) |
| May 1, 2025 | 24.35% (0.24350) | 95.78th | v4 (v2025.03.14) |
| Apr 5, 2025 | 17.84% (0.17843) | 94.61th | v4 (v2025.03.14) |
| Apr 4, 2025 | 23.88% (0.23880) | 95.57th | v4 (v2025.03.14) |
| Apr 3, 2025 | 17.84% (0.17843) | 94.61th | v4 (v2025.03.14) |
| Apr 2, 2025 | 20.36% (0.20357) | 95.06th | v4 (v2025.03.14) |
| Mar 30, 2025 | 11.06% (0.11056) | 92.82th | v4 (v2025.03.14) |
| Mar 29, 2025 | 20.52% (0.20522) | 92.77th | v4 (v2025.03.14) |
| Mar 28, 2025 | 11.06% (0.11056) | 92.82th | v4 (v2025.03.14) |
| Mar 17, 2025 | 17.32% (0.17320) | 94.53th | v4 (v2025.03.14) |
| Dec 17, 2024 | 6.30% (0.06299) | 93.56th | v3 (v2023.03.01) |
| Jan 10, 2024 | 4.54% (0.04540) | 91.65th | v3 (v2023.03.01) |
| Nov 22, 2023 | 4.63% (0.04635) | 91.69th | v3 (v2023.03.01) |
| May 20, 2023 | 6.44% (0.06437) | 92.59th | v3 (v2023.03.01) |
| Mar 7, 2023 | 6.96% (0.06956) | 92.84th | v3 (v2023.03.01) |
| Mar 6, 2023 | 40.68% (0.40676) | 98.23th | v2 (v2022.01.01) |
| Feb 4, 2022 | 40.68% (0.40676) | 97.50th | v2 (v2022.01.01) |
References (26)
- http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html vendor-advisoryx_refsource_APPLE
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00027.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00028.html vendor-advisoryx_refsource_SUSE
- http://osvdb.org/100113 vdb-entryx_refsource_OSVDB
- http://rhn.redhat.com/errata/RHSA-2013-1763.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-1764.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-1767.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2014-0011.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2014-0215.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/55787 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/57376 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2013/dsa-2809 vendor-advisoryx_refsource_DEBIAN
- http://www.debian.org/security/2013/dsa-2810 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/63873 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-2035-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2013-4164 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1033460 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2013-4164
- https://puppet.com/security/cve/cve-2013-4164 x_refsource_CONFIRM
- https://support.apple.com/kb/HT6536 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2013-4164
- https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164 x_refsource_CONFIRMExploit
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released x_refsource_CONFIRM
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released x_refsource_CONFIRMPatch
Change history (0)
No recorded changes yet.