CVE-2012-5371
publishedruby: Murmur hash-flooding DoS flaw in ruby 1.9 (oCERT-2012-001)
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
12- http://2012.appsec-forum.ch/conferences/#c17
- http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf
- 51253 http://secunia.com/advisories/51253
- 1027747 http://securitytracker.com/id?1027747
- http://www.ocert.org/advisories/ocert-2012-001.html
- 87280 http://www.osvdb.org/87280
- http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/
- 56484 http://www.securityfocus.com/bid/56484
- USN-1733-1 http://www.ubuntu.com/usn/USN-1733-1
- https://bugzilla.redhat.com/show_bug.cgi?id=875236
- ruby-hash-function-dos(79993) https://exchange.xforce.ibmcloud.com/vulnerabilities/79993
- https://www.131002.net/data/talks/appsec12_slides.pdf
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8a9a89af73dd77bb91494f9e88ec0a27a4820144e5932b63961883923e2789cc
- Ingested
- 23 Sep 2026, 07:39:23 UTC
- Source record
- Official CVE record