Buffer overflow in Ruby-Lang Ruby
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.350 (98.4th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.350 · newest: 0.350 · change: 0.000
Affected products
- Ruby-Lang Ruby — versions 1.8, 1.9, 1.9.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- puppet.com/security/cve/cve-2013-4164
- archives.neohapsis.com/archives/bugtraq/2014-10/0103.html (vendor-advisory)
- lists.opensuse.org/opensuse-updates/2013-12/msg00028.html (vendor-advisory)
- www.ubuntu.com/usn/USN-2035-1 (vendor-advisory)
- archives.neohapsis.com/archives/bugtraq/2014-04/0134.html (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2014-0215.html (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.html (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2013-1763.html (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2013-1764.html (vendor-advisory)
- www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released (Patch)
Frequently asked questions
- What is CVE-2013-4164?
- CVE-2013-4164 is a vulnerability in Ruby-Lang Ruby, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2013-11-23.
- Is CVE-2013-4164 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.