CVE-2012-5371

Summary

CVECVE-2012-5371
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-11-28 13:03:10 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionRuby (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

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:N/I:N/A:P

Problem Types: CWE-310 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
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

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report