CVE-2013-4164: ruby-lang ruby
Vulnerability summary
CVE-2013-4164 is a medium (CVSS 6.8) vulnerability in ruby-lang ruby. EPSS estimates a 34.97% chance of exploitation in the next 30 days, higher than 98.4% of scored vulnerabilities. 2 public exploits are recorded.
Weaponized exploit (Metasploit, 22-11-2013)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 23-11-2013PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
34.97%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
No change 0.00 pp
From 34.97% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (ruby-lang.org)
Maturity: unknown
Ruby on Rails JSON Processor Floating Point Heap Overflow DoS
auxiliary/dos/http/rails_json_float_dos
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Redhat25 products
- ruby< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_2 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4
- ruby-debuginfo< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_2 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4
- ruby-devel< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4 | < 0:1.8.7.352-13.el6_2
- ruby-docs< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_2 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4
- ruby-irb< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_2 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4
Ubuntu2 products
- ruby1.9.1< 1.9.3.448-1ubuntu2
- ruby2.0< 2.0.0.343-1ubuntu1
Debian1 product
- ruby1.9.1< 1.9.2.0-2+deb6u2 | < 1.9.3.194-8.1+deb7u2
Mageia1 product
- ruby< 1.9.3.p484-1.mga3
Ruby-lang1 product
- rubyEOL1.8 | 1.9 | 1.9.1 | 1.9.2 | 1.9.3 | 2.0.0 | 2.1:preview1
5 vendors · 30 products
References
42 links- puppet.com/security/cve/cve-2013-4164X Refsource CONFIRM
Show all 42 references
- www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164X Refsource CONFIRMExploit
- support.apple.com/kb/HT6536X Refsource CONFIRM
- www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-releasedX Refsource CONFIRM