{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2012-5371","published":"2012-11-28T13:03:10.153000Z","last_modified":"2026-06-16T23:46:44.907000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-310"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:p286:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_end_including":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.2"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.0"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/ruby"],"epss":{"score":0.0333,"percentile":0.89389,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":45,"links":{"html_es":"/es/cve/CVE-2012-5371/","html_en":"/en/cve/CVE-2012-5371/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-5371","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-5371"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Ruby","desc_en":"Ruby (aka CRuby) 1.9 before 1.9.3-p327 and 2.0 before r37575 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 a variant of the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4815.","affected":[],"references":[{"url":"http://2012.appsec-forum.ch/conferences/#c17","tags":[]},{"url":"http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf","tags":[]},{"url":"http://secunia.com/advisories/51253","tags":[]},{"url":"http://securitytracker.com/id?1027747","tags":["Patch"]},{"url":"http://www.ocert.org/advisories/ocert-2012-001.html","tags":[]},{"url":"http://www.osvdb.org/87280","tags":[]},{"url":"http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/56484","tags":[]},{"url":"http://www.ubuntu.com/usn/USN-1733-1","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=875236","tags":["Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79993","tags":[]},{"url":"https://www.131002.net/data/talks/appsec12_slides.pdf","tags":[]}]}}