CVEvulnerability
CVE-2013-4164
6.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2013-11-23
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- 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 configurations
• ruby-lang ruby 1.8
• ruby-lang ruby 1.9
• ruby-lang ruby 1.9.1
• ruby-lang ruby 1.9.2
• ruby-lang ruby 1.9.3
• ruby-lang ruby 2.0.0
• ruby-lang ruby 2.1
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html archives.neohapsis.com
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html archives.neohapsis.com
- http://lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00027.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00028.html lists.opensuse.org
- http://osvdb.org/100113 osvdb.org
- http://rhn.redhat.com/errata/RHSA-2013-1763.html rhn.redhat.com
- http://rhn.redhat.com/errata/RHSA-2013-1764.html rhn.redhat.com
- http://rhn.redhat.com/errata/RHSA-2013-1767.html rhn.redhat.com
- http://rhn.redhat.com/errata/RHSA-2014-0011.html rhn.redhat.com
- http://rhn.redhat.com/errata/RHSA-2014-0215.html rhn.redhat.com
- http://secunia.com/advisories/55787 Vendor Advisory
- http://secunia.com/advisories/57376 secunia.com
- http://www.debian.org/security/2013/dsa-2809 www.debian.org
- http://www.debian.org/security/2013/dsa-2810 www.debian.org
- http://www.securityfocus.com/bid/63873 www.securityfocus.com
- http://www.ubuntu.com/usn/USN-2035-1 www.ubuntu.com
- https://puppet.com/security/cve/cve-2013-4164 puppet.com
- https://support.apple.com/kb/HT6536 support.apple.com
- https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164 Exploit
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released www.ruby-lang.org
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released Patch
- http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html archives.neohapsis.com
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html archives.neohapsis.com
- http://lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00027.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00028.html lists.opensuse.org
- http://osvdb.org/100113 osvdb.org
- http://rhn.redhat.com/errata/RHSA-2013-1763.html rhn.redhat.com
- http://rhn.redhat.com/errata/RHSA-2013-1764.html rhn.redhat.com
- http://rhn.redhat.com/errata/RHSA-2013-1767.html rhn.redhat.com
- http://rhn.redhat.com/errata/RHSA-2014-0011.html rhn.redhat.com
- http://rhn.redhat.com/errata/RHSA-2014-0215.html rhn.redhat.com
- http://secunia.com/advisories/55787 Vendor Advisory
- http://secunia.com/advisories/57376 secunia.com
- http://www.debian.org/security/2013/dsa-2809 www.debian.org
- http://www.debian.org/security/2013/dsa-2810 www.debian.org
- http://www.securityfocus.com/bid/63873 www.securityfocus.com
- http://www.ubuntu.com/usn/USN-2035-1 www.ubuntu.com
- https://puppet.com/security/cve/cve-2013-4164 puppet.com
- https://support.apple.com/kb/HT6536 support.apple.com
- https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164 Exploit
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released www.ruby-lang.org
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released Patch