{"id":"CVE-2012-5371","state":"PUBLISHED","title":"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 cont","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.","publishedAt":"2012-11-28T11:00:00.000Z","updatedAt":"2024-08-06T21:05:47.293Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf","http://securitytracker.com/id?1027747","http://www.osvdb.org/87280","http://www.securityfocus.com/bid/56484","https://www.131002.net/data/talks/appsec12_slides.pdf","http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/","http://2012.appsec-forum.ch/conferences/#c17","https://bugzilla.redhat.com/show_bug.cgi?id=875236","http://secunia.com/advisories/51253","http://www.ocert.org/advisories/ocert-2012-001.html","http://www.ubuntu.com/usn/USN-1733-1","https://exchange.xforce.ibmcloud.com/vulnerabilities/79993"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:28.100Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/5xxx/CVE-2012-5371.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-5371","state":"PUBLISHED","datePublished":"2012-11-28T11:00:00.000Z","dateUpdated":"2024-08-06T21:05:47.293Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2012-10-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf","tags":["x_refsource_MISC"]},{"url":"http://securitytracker.com/id?1027747","name":"1027747","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.osvdb.org/87280","name":"87280","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.securityfocus.com/bid/56484","name":"56484","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.131002.net/data/talks/appsec12_slides.pdf","tags":["x_refsource_MISC"]},{"url":"http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/","tags":["x_refsource_CONFIRM"]},{"url":"http://2012.appsec-forum.ch/conferences/#c17","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=875236","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/51253","name":"51253","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ocert.org/advisories/ocert-2012-001.html","tags":["x_refsource_MISC"]},{"url":"http://www.ubuntu.com/usn/USN-1733-1","name":"USN-1733-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79993","name":"ruby-hash-function-dos(79993)","tags":["vdb-entry","x_refsource_XF"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2012-11-07T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-5371","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf","refsource":"MISC","url":"http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf"},{"name":"1027747","refsource":"SECTRACK","url":"http://securitytracker.com/id?1027747"},{"name":"87280","refsource":"OSVDB","url":"http://www.osvdb.org/87280"},{"name":"56484","refsource":"BID","url":"http://www.securityfocus.com/bid/56484"},{"name":"https://www.131002.net/data/talks/appsec12_slides.pdf","refsource":"MISC","url":"https://www.131002.net/data/talks/appsec12_slides.pdf"},{"name":"http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/","refsource":"CONFIRM","url":"http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/"},{"name":"http://2012.appsec-forum.ch/conferences/#c17","refsource":"MISC","url":"http://2012.appsec-forum.ch/conferences/#c17"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=875236","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=875236"},{"name":"51253","refsource":"SECUNIA","url":"http://secunia.com/advisories/51253"},{"name":"http://www.ocert.org/advisories/ocert-2012-001.html","refsource":"MISC","url":"http://www.ocert.org/advisories/ocert-2012-001.html"},{"name":"USN-1733-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-1733-1"},{"name":"ruby-hash-function-dos(79993)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79993"}]}}},"adp":[{"title":"CVE Program Container","references":[{"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"]},{"url":"http://securitytracker.com/id?1027747","name":"1027747","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.osvdb.org/87280","name":"87280","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.securityfocus.com/bid/56484","name":"56484","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://www.131002.net/data/talks/appsec12_slides.pdf","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://2012.appsec-forum.ch/conferences/#c17","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=875236","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/51253","name":"51253","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ocert.org/advisories/ocert-2012-001.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1733-1","name":"USN-1733-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79993","name":"ruby-hash-function-dos(79993)","tags":["vdb-entry","x_refsource_XF","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T21:05:47.293Z"}}]}}}