CVE-2012-5370
CVE-2012-5370 is a medium-severity vulnerability in Jruby with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-310.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.0)
- EPSS exploit prediction: 2% (81st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-310
- Affected product: Jruby
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2012-5370?
- 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.
- How severe is CVE-2012-5370?
- CVE-2012-5370 has a CVSS 2.0 base score of 5.0, rated medium severity.
- Is CVE-2012-5370 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (81st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-5370?
- CVE-2012-5370 affects Jruby. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2012-5370?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-5370 published?
- CVE-2012-5370 was published on 2012-11-28 and last updated on 2026-06-16.
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
Affected products (1)
- cpe:2.3:a:jruby:jruby:-:*:*:*:*:*:*:*
More vulnerabilities in Jruby
- CVE-2011-4838 — Medium (CVSS 5.0): JRuby before 1.6.5.1 computes hash values without restricting the ability to trigger hash collisions predictably, which…
- CVE-2010-1330 — Medium (CVSS 4.3): The regular expression engine in JRuby before 1.4.1, when $KCODE is set to 'u', does not properly handle characters…
- CVE-2025-46551 — Low (CVSS 3.7): JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library. Starting in JRuby-OpenSSL…
Other CWE-310 (Cryptographic Issues) vulnerabilities
- CVE-2014-7878 — Critical (CVSS 10.0): The Application Lifecycle Service (ALS) in HP Helion Cloud Development Platform 1.0, when a virtual machine is derived…
- CVE-2013-3712 — Critical (CVSS 10.0): SUSE Studio Onsite 1.3.x before 1.3.6 and SUSE Studio Extension for System z 1.3 uses "static" secret tokens, which has…
- CVE-2013-6952 — Critical (CVSS 10.0): The Belkin WeMo Home Automation firmware before 3949 has a hardcoded GPG key, which makes it easier for remote…
- CVE-2013-6838 — Critical (CVSS 10.0): An unspecified Enghouse Interactive Professional Services "addon product" in Enghouse Interactive IVR Pro (VIP2000)…
- CVE-2013-0137 — Critical (CVSS 10.0): The default configuration of the Digital Alert Systems DASDEC EAS device before 2.0-2 and the Monroe Electronics R189…
- CVE-2011-5123 — Critical (CVSS 10.0): The Antivirus component in Comodo Internet Security before 5.3.175888.1227 does not check whether X.509 certificates in…