Vulnerability Report

CVE-2013-4164

Title: Ruby-Lang Ruby RCE

Memory Corruption

Proof Of Concept

No public PoC currently indexed for CVE-2013-4164.

CWE Category CWE-119
Published Date Nov 23, 2013
Modified Date Apr 29, 2026
Exploit Status Not Found
Score 6.8 CVSS v2.0
Exploit Probability (EPSS)
11.96%

Vulnerability Summary

CVE-2013-4164: 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.

Impacted Vendors

Reference Links

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 http://secunia.com/advisories/57376 http://www.debian.org/security/2013/dsa-2809 http://www.debian.org/security/2013/dsa-2810 http://www.securityfocus.com/bid/63873 http://www.ubuntu.com/usn/USN-2035-1 https://puppet.com/security/cve/cve-2013-4164 https://support.apple.com/kb/HT6536 https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164 https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released 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 http://secunia.com/advisories/57376 http://www.debian.org/security/2013/dsa-2809 http://www.debian.org/security/2013/dsa-2810 http://www.securityfocus.com/bid/63873 http://www.ubuntu.com/usn/USN-2035-1 https://puppet.com/security/cve/cve-2013-4164 https://support.apple.com/kb/HT6536 https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164 https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released
CVSS v2.0
Source Entity [email protected]
Severity MEDIUM
6.8
Access Vector
N/A
Authentication
N/A
RAW VECTOR AV:N/AC:M/Au:N/C:P/I:P/A:P

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2013-4164 Exploits & PoCs (Proof Of Concept)

No public PoCs found in our database for this CVE.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data or affected products updated.

PUBLISHED

Vulnerability first announced in NVD.

Attack Vector Matrix

Access Vector N/A
Complexity N/A
Privileges N/A
Interaction NONE
CVSS Vector String AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected Stack

No specific products linked.