CVE-2012-5371: ruby-lang ruby Cryptographic Issues
Vulnerability summary
CVE-2012-5371 is a medium (CVSS 5.0) Cryptographic Issues vulnerability in ruby-lang ruby. EPSS estimates a 3.33% chance of exploitation in the next 30 days, higher than 88.6% of scored vulnerabilities.
Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Duplicates 1Timeline
- 28-11-2012PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
Ruby (aka CRuby) 1.9 before 1.9.3-p327 and 2.0 before r37575 computes hash values without properly restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table, as demonstrated by a universal multicollision attack against a variant of the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4815.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
3.33%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.33% 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
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Ruby-lang1 product
- rubyEOL≤ 1.9.3 | 1.9 | 1.9.1 | 1.9.2 | 1.9.3 | 1.9.3:p0 | 1.9.3:p125 | 1.9.3:p194 | 2.0
1 vendor · 1 product
References
12 links- asfws12.files.wordpress.com/2012/…X Refsource MISC
- www.131002.net/data/talks/appsec12_slides.pdfX Refsource MISC
- www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/X Refsource CONFIRMPatchVendor Advisory
- 2012.appsec-forum.ch/conferences/X Refsource MISC
- www.ocert.org/advisories/ocert-2012-001.htmlX Refsource MISC