Ruby hash generation function denial of service
|ruby-hash-function-dos (79993)||Medium Risk|
Ruby is vulnerable to a denial of service, caused by an error in the hash generation function. By sending a specially-crafted HTTP POST request, a remote attacker could exploit this vulnerability to cause the consumption of CPU resources.
Denial of Service
Upgrade to the latest version of Ruby (1.9.3-p327 or later), available from the Ruby Web site. See References.
- Ruby Web Site: Hash-flooding DoS vulnerability for ruby 1.9 (CVE-2012-5371).
- BID-56484: Ruby CVE-2012-5371 Hash Collision Denial of Service Vulnerability
- CVE-2012-5371: 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.
- OSVDB ID: 87280: Ruby String Key Object Hashing Hash Collision Form Parameter Parsing Remote DoS
- OSVDB ID: 87863: Ruby MurmurHash Implementation Hash Collision Remote DoS
- RHSA-2013-0582: Moderate: Red Hat OpenShift Enterprise 1.1.1 update
- SA51253: Ruby Web Form Object Hash Collision Denial of Service Vulnerability
- RedHat Linux Advanced Workstation 2.1 Itanium
- Ruby-lang Ruby 1.9.0
- Ruby-lang Ruby 1.9.1
- Ruby-Lang Ruby 1.9.2
- Ruby-Lang Ruby 1.9.3
Nov 10, 2012
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. 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. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.