What’s Vulnerable › Vulnerabilities
CVE-2013-4164
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 35.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2013-11-23 · updated 2026-06-16
- Weakness: CWE-119
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
- Ruby: 1.8, 1.9, 1.9.1, 1.9.2, 1.9.3, 2.0.0 (+1)
References
- http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html
- http://lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00027.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00028.html
- http://osvdb.org/100113
- http://rhn.redhat.com/errata/RHSA-2013-1763.html
- http://rhn.redhat.com/errata/RHSA-2013-1764.html
- http://rhn.redhat.com/errata/RHSA-2013-1767.html
- http://rhn.redhat.com/errata/RHSA-2014-0011.html
- http://rhn.redhat.com/errata/RHSA-2014-0215.html
- http://secunia.com/advisories/55787
Get alerted when CVE-2013-4164 or the next vulnerability affects your stack