CVE-2012-5370
MEDIUM 5.0CVSS 2.0JRuby denial of service via Hash Collision
JRuby 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 the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.
- Published
- 28 Nov 2012
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-310CWE-400
- Also known as
- GHSA-fmmq-j7pq-f85c
- Sources
- NVDJSONOSV GHSA-fmmq-j7pq-f85cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jruby | jrubycpe:2.3:a:jruby:jruby:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Maven | org.jruby:jruby-parent | < 1.7.1 | 1.7.1 |
References
- 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
- http://rhn.redhat.com/errata/RHSA-2013-0533.html · WEB
- http://www.ocert.org/advisories/ocert-2012-001.html
- https://bugzilla.redhat.com/show_bug.cgi?id=880671 · WEB
- https://www.131002.net/data/talks/appsec12_slides.pdf
- https://nvd.nist.gov/vuln/detail/CVE-2012-5370 · ADVISORY
- https://github.com/jruby/jruby/commit/5e4aab28b26fd127112b76fabfac9a33b64caf77 · WEB
- http://jruby.org/2012/12/03/jruby-1-7-1 · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 28 Nov 2012)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)