CVE-2012-5370
JRuby denial of service via Hash Collision
Reported by mitre · Published November 28, 2012
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| chainguard | jruby-9.4 | * |
| n/a | n/a | * |
| wolfi | jruby-9.4 | * |
| Maven | org.jruby:jruby-parent | 0 |
| wolfi | jruby-10.1 | * |
| chainguard | jruby-10.1 | * |
Timeline
- Nov 28, 2012 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Apr 11, 2025 CVE Updated
- Mar 17, 2026 Security Advisory
- Oct 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-5370
vulnetix vdb fixes CVE-2012-5370
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-5370/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- RHSA-2013:0533 vendor-advisoryx_refsource_REDHAT
- https://github.com/jruby/jruby/commit/5e4aab28b26fd127112b76fabfac9a33b64caf77 fix
- https://nvd.nist.gov/vuln/detail/CVE-2012-5370 advisory
- http://jruby.org/2012/12/03/jruby-1-7-1 url
- https://github.com/advisories/GHSA-fmmq-j7pq-f85c advisory