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.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby — versions 1.8, 1.9, 1.9.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- puppet.com/security/cve/cve-2013-4164
- APPLE-SA-2014-10-16-3 (vendor-advisory)
- openSUSE-SU-2013:1835 (vendor-advisory)
- USN-2035-1 (vendor-advisory)
- APPLE-SA-2014-04-22-1 (vendor-advisory)
- RHSA-2014:0215 (vendor-advisory)
- SUSE-SU-2013:1897 (vendor-advisory)
- RHSA-2013:1763 (vendor-advisory)
- RHSA-2013:1764 (vendor-advisory)
- www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.