CVEvulnerability
CVE-2012-5371
5.0 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2012-11-28
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-310
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.
Affected configurations
• ruby-lang ruby (<= 1.9.3)
• ruby-lang ruby 1.9
• ruby-lang ruby 1.9.1
• ruby-lang ruby 1.9.2
• ruby-lang ruby 1.9.3
• ruby-lang ruby 2.0
Related
Weakness · not in database (1)
References
- http://2012.appsec-forum.ch/conferences/#c17 2012.appsec-forum.ch
- http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf asfws12.files.wordpress.com
- http://secunia.com/advisories/51253 secunia.com
- http://securitytracker.com/id?1027747 Patch
- http://www.ocert.org/advisories/ocert-2012-001.html www.ocert.org
- http://www.osvdb.org/87280 www.osvdb.org
- http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/ Patch, Vendor Advisory
- http://www.securityfocus.com/bid/56484 www.securityfocus.com
- http://www.ubuntu.com/usn/USN-1733-1 www.ubuntu.com
- https://bugzilla.redhat.com/show_bug.cgi?id=875236 Patch
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79993 exchange.xforce.ibmcloud.com
- https://www.131002.net/data/talks/appsec12_slides.pdf www.131002.net
- http://2012.appsec-forum.ch/conferences/#c17 2012.appsec-forum.ch
- http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf asfws12.files.wordpress.com
- http://secunia.com/advisories/51253 secunia.com
- http://securitytracker.com/id?1027747 Patch
- http://www.ocert.org/advisories/ocert-2012-001.html www.ocert.org
- http://www.osvdb.org/87280 www.osvdb.org
- http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/ Patch, Vendor Advisory
- http://www.securityfocus.com/bid/56484 www.securityfocus.com
- http://www.ubuntu.com/usn/USN-1733-1 www.ubuntu.com
- https://bugzilla.redhat.com/show_bug.cgi?id=875236 Patch
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79993 exchange.xforce.ibmcloud.com
- https://www.131002.net/data/talks/appsec12_slides.pdf www.131002.net