CVE-2013-4164
Summary
| CVE | CVE-2013-4164 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2013-11-23 19:55:03 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
Primary CVSS: v2.0 6.8 from [email protected]
AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS: 0.119580000 probability, percentile 0.937880000 (date 2026-04-29)
Problem Types: CWE-119 | n/a
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Ruby-lang | Ruby | 1.8 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.1 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.2 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.3 | All | All | All |
| Application | Ruby-lang | Ruby | 2.0.0 | All | All | All |
| Application | Ruby-lang | Ruby | 2.1 | preview1 | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Ruby 1.9.3-p484 is released | af854a3a-2127-422b-91ae-364da2661108 | www.ruby-lang.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| CVE-2013-4164 | Puppet | af854a3a-2127-422b-91ae-364da2661108 | puppet.com | |
| openSUSE-SU-2013:1835-1: moderate: update for ruby19 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| [security-announce] SUSE-SU-2013:1897-1: critical: Security update for r | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| About the security content of OS X Server v4.0 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | |
| Ruby 2.0.0-p353 is released | af854a3a-2127-422b-91ae-364da2661108 | www.ruby-lang.org | Patch |
| USN-2035-1: Ruby vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| openSUSE-SU-2013:1834-1: moderate: update for ruby20 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| About Secunia Research | Flexera | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| NEOHAPSIS - Peace of Mind Through Integrity and Insight | af854a3a-2127-422b-91ae-364da2661108 | archives.neohapsis.com | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| osvdb.org/100113 | af854a3a-2127-422b-91ae-364da2661108 | osvdb.org | |
| Debian -- Security Information -- DSA-2810-1 ruby1.9.1 | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| Debian -- Security Information -- DSA-2809-1 ruby1.8 | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| Ruby Floating Point Parsing Heap Buffer Overflow Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| NEOHAPSIS - Peace of Mind Through Integrity and Insight | af854a3a-2127-422b-91ae-364da2661108 | archives.neohapsis.com | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| Security Advisory SA57376 - Red Hat update for cfme - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Heap Overflow in Floating Point Parsing (CVE-2013-4164) | af854a3a-2127-422b-91ae-364da2661108 | www.ruby-lang.org | Exploit |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.