{"id":"CVE-2012-5371","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Ruby (aka CRuby) 1.9 before 1.9.3-p327 and 2.0 before r37575 computes hash values without properly restricting the abil…","description":"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.","ai_summary":null,"severity":"medium","cvss":{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"NVD"},"scores":[{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd"}],"cwe":["CWE-310"],"remote":true,"remote_unauth":true,"epss":{"score":0.03451,"percentile":0.89786,"date":"2026-11-30"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://www.ubuntu.com/usn/USN-1733-1","kind":"vendor"},{"url":"http://securitytracker.com/id?1027747","kind":"patch"},{"url":"http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/","kind":"patch"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=875236","kind":"patch"},{"url":"http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf","kind":"other"},{"url":"http://www.osvdb.org/87280","kind":"other"},{"url":"http://www.securityfocus.com/bid/56484","kind":"other"},{"url":"https://www.131002.net/data/talks/appsec12_slides.pdf","kind":"other"},{"url":"http://2012.appsec-forum.ch/conferences/#c17","kind":"other"},{"url":"http://secunia.com/advisories/51253","kind":"other"},{"url":"http://www.ocert.org/advisories/ocert-2012-001.html","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79993","kind":"other"}],"workarounds":null,"vendors":["ruby-lang"],"products":["ruby"],"cpes":["cpe:2.3:a:ruby-lang:ruby:*:p286:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*"],"published_at":"2012-11-28T11:00:00.000Z","modified_at":"2026-06-16T23:46:44.907Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5371"}],"links":{"html":"https://flawdb.com/CVE-2012-5371","markdown":"https://flawdb.com/CVE-2012-5371.md","json":"https://flawdb.com/api/v1/entries/CVE-2012-5371"}}