CVE-2012-5370
medium
CVSS v3
—
CVSS v2
5.0
VIR risk
5.0
Description
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.
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2012-5370
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1.5.6-5 |
| debian | forky | fixed | 1.5.6-5 |
| debian | sid | fixed | 1.5.6-5 |
| debian | trixie | fixed | 1.5.6-5 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | org.jruby:jruby-parent | <1.7.1 | 1.7.1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| jruby | jruby | - | |
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
- http://www.ocert.org/advisories/ocert-2012-001.html
- https://bugzilla.redhat.com/show_bug.cgi?id=880671
- https://www.131002.net/data/talks/appsec12_slides.pdf
- https://nvd.nist.gov/vuln/detail/CVE-2012-5370
- https://github.com/jruby/jruby/commit/5e4aab28b26fd127112b76fabfac9a33b64caf77
- http://jruby.org/2012/12/03/jruby-1-7-1
- https://security-tracker.debian.org/tracker/CVE-2012-5370
CWEs
CWE-310
Verify integrity in audit chain (admin only). AS-IS.