CVE-2012-5371
Summary
| CVE | CVE-2012-5371 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2012-11-28 13:03:10 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
NoneAvailability
PartialAV:N/AC:L/Au:N/C:N/I:N/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Ruby-lang | Ruby | 1.9 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.1 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.2 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.3 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.3 | p0 | All | All |
| Application | Ruby-lang | Ruby | 1.9.3 | p125 | All | All |
| Application | Ruby-lang | Ruby | 1.9.3 | p194 | All | All |
| Application | Ruby-lang | Ruby | 2.0 | All | All | All |
| Application | Ruby-lang | Ruby | All | p286 | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 7-8 Novembre – Conférences | Application Security Forum – Western Switzerland 2012 | af854a3a-2127-422b-91ae-364da2661108 | 2012.appsec-forum.ch | |
| Jean-Philippe Aumasson | af854a3a-2127-422b-91ae-364da2661108 | www.131002.net | |
| About Secunia Research | Flexera | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Ruby Hash Table Collision Bug Lets Remote Users Deny Service - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | securitytracker.com | Patch |
| Bug 875236 – CVE-2012-5371 ruby: Murmur hash-flooding DoS flaw in ruby 1.9 (oCERT-2012-001) | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Patch |
| WordPress.com | af854a3a-2127-422b-91ae-364da2661108 | asfws12.files.wordpress.com | |
| www.osvdb.org/87280 | af854a3a-2127-422b-91ae-364da2661108 | www.osvdb.org | |
| Malformed Request | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| oCERT.org - oCERT Advisories | af854a3a-2127-422b-91ae-364da2661108 | www.ocert.org | |
| USN-1733-1: Ruby vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| IBM X-Force Exchange | af854a3a-2127-422b-91ae-364da2661108 | exchange.xforce.ibmcloud.com | |
| Hash-flooding DoS vulnerability for ruby 1.9 (CVE-2012-5371) | af854a3a-2127-422b-91ae-364da2661108 | www.ruby-lang.org | Patch, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.