Back
CVE-2012-5371
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…
Medium5.0EPSS 3.3%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 3.3% · top 11% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (12)
- http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf (opens in a new tab)x_refsource_MISCx_transferred
- 1027747 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 87280 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- 56484 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://www.131002.net/data/talks/appsec12_slides.pdf (opens in a new tab)x_refsource_MISCx_transferred
- http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://2012.appsec-forum.ch/conferences/#c17 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=875236 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 51253 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.ocert.org/advisories/ocert-2012-001.html (opens in a new tab)x_refsource_MISCx_transferred
- USN-1733-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- ruby-hash-function-dos(79993) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .