Unrated severityNVD Advisory· Published Nov 23, 2013· Updated Apr 29, 2026
CVE-2013-4164
CVE-2013-4164
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
7cpe:2.3:a:ruby-lang:ruby:1.8:*:*:*:*:*:*:*+ 6 more
- cpe:2.3:a:ruby-lang:ruby:1.8:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.1:preview1:*:*:*:*:*:*
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
22- www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-releasednvdPatch
- www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164nvdExploit
- secunia.com/advisories/55787nvdVendor Advisory
- archives.neohapsis.com/archives/bugtraq/2014-04/0134.htmlnvd
- archives.neohapsis.com/archives/bugtraq/2014-10/0103.htmlnvd
- lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.htmlnvd
- lists.opensuse.org/opensuse-updates/2013-12/msg00027.htmlnvd
- lists.opensuse.org/opensuse-updates/2013-12/msg00028.htmlnvd
- osvdb.org/100113nvd
- rhn.redhat.com/errata/RHSA-2013-1763.htmlnvd
- rhn.redhat.com/errata/RHSA-2013-1764.htmlnvd
- rhn.redhat.com/errata/RHSA-2013-1767.htmlnvd
- rhn.redhat.com/errata/RHSA-2014-0011.htmlnvd
- rhn.redhat.com/errata/RHSA-2014-0215.htmlnvd
- secunia.com/advisories/57376nvd
- www.debian.org/security/2013/dsa-2809nvd
- www.debian.org/security/2013/dsa-2810nvd
- www.securityfocus.com/bid/63873nvd
- www.ubuntu.com/usn/USN-2035-1nvd
- puppet.com/security/cve/cve-2013-4164nvd
- support.apple.com/kb/HT6536nvd
- www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-releasednvd
News mentions
0No linked articles in our index yet.