{"id":"GHSA-fmmq-j7pq-f85c","summary":"JRuby denial of service via Hash Collision","details":"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.","aliases":["CVE-2012-5370"],"modified":"2026-09-10T03:49:22.538651849Z","published":"2022-05-17T04:17:07Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-08-29T20:33:46Z","nvd_published_at":"2012-11-28T13:03:00Z","cwe_ids":["CWE-400"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5370"},{"type":"WEB","url":"https://github.com/jruby/jruby/commit/5e4aab28b26fd127112b76fabfac9a33b64caf77"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=880671"},{"type":"WEB","url":"http://jruby.org/2012/12/03/jruby-1-7-1"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2013-0533.html"}],"affected":[{"package":{"name":"org.jruby:jruby-parent","ecosystem":"Maven","purl":"pkg:maven/org.jruby/jruby-parent"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fmmq-j7pq-f85c/GHSA-fmmq-j7pq-f85c.json"}}],"schema_version":"1.9.0"}