{"id":"CVE-2013-4164","sourceIdentifier":"secalert@redhat.com","published":"2013-11-23T19:55:03.517","lastModified":"2026-06-16T23:56:44.330","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Desbordamiento de buffer basado en memoria dinámica en Ruby 1.8, 1.9 anteriores a 1.9.3-p484, 2.0 anteriores a 2.0.0-p353, 2.1 anteriores a 2.1.0 preview2, y \"trunk\" anteriores a la revisión 43780 permite a atacatnes dependientes del contexto causar denegación de servicio (segmentation fault) y posiblemente ejecutar código arbitrario a través de una cadena de texto que es convertida a un número en punto flotante, como demostrado utilizando (1) el método to_f o (2) JSON.parse."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-119"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8:*:*:*:*:*:*:*","matchCriteriaId":"3EA01D6F-3B61-44EC-A6EA-9E878A0D5B99"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*","matchCriteriaId":"D9237145-35F8-4E05-B730-77C0F386E5B2"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*","matchCriteriaId":"C78BB1D8-0505-484D-B824-1AA219F8B247"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*","matchCriteriaId":"5178D04D-1C29-4353-8987-559AA07443EC"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*","matchCriteriaId":"D0535DC9-EB0E-4745-80AC-4A020DF26E38"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*","matchCriteriaId":"B03B7561-A854-4EFA-9E4E-CFC4EEAE4EE1"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.1:preview1:*:*:*:*:*:*","matchCriteriaId":"7A2C6617-222D-4EA3-A194-4D69B10197DE"}]}]}],"references":[{"url":"http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html","source":"secalert@redhat.com"},{"url":"http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00027.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00028.html","source":"secalert@redhat.com"},{"url":"http://osvdb.org/100113","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1763.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1764.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1767.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0011.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0215.html","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/55787","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/57376","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2013/dsa-2809","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2013/dsa-2810","source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/63873","source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-2035-1","source":"secalert@redhat.com"},{"url":"https://puppet.com/security/cve/cve-2013-4164","source":"secalert@redhat.com"},{"url":"https://support.apple.com/kb/HT6536","source":"secalert@redhat.com"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164","source":"secalert@redhat.com","tags":["Exploit"]},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released","source":"secalert@redhat.com"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released","source":"secalert@redhat.com","tags":["Patch"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00027.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00028.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/100113","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1763.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1764.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1767.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0011.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0215.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/55787","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/57376","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2013/dsa-2809","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2013/dsa-2810","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/63873","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/USN-2035-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://puppet.com/security/cve/cve-2013-4164","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT6536","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}