{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2012-5370","id":"CVE-2012-5370","title":"JRuby denial of service via Hash Collision","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.","descriptionLong":"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":"2012-11-28T11:00:00.000Z","updated":"2026-06-16T23:46:44.783Z","reserved":"2012-10-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.jruby:jruby-parent","purl":"pkg:maven/org.jruby/jruby-parent","ranges":["<1.7.1"],"fixed":["1.7.1"],"advisory":"GHSA-fmmq-j7pq-f85c"}],"cwes":["CWE-310","CWE-400"],"aliases":["GHSA-fmmq-j7pq-f85c"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=880671","tags":["x_refsource_CONFIRM","x_transferred","report","web"]},{"url":"http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://www.131002.net/data/talks/appsec12_slides.pdf","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://2012.appsec-forum.ch/conferences/#c17","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.ocert.org/advisories/ocert-2012-001.html","tags":["x_refsource_MISC","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0533.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5370","tags":["advisory"]},{"url":"https://github.com/jruby/jruby/commit/5e4aab28b26fd127112b76fabfac9a33b64caf77","tags":["web"]},{"url":"http://jruby.org/2012/12/03/jruby-1-7-1","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02249,"epssPercentile":0.83245,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2012-5370","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5370","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2012-5370","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fmmq-j7pq-f85c","ok":true,"note":"GHSA-fmmq-j7pq-f85c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2012-5370","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}