1. CVE archive
  2. 2012
  3. CVE-2012-5371

CVE-2012-5371

5 Medium severity CVSS v2.0 · source NVD AV:N/AC:L/Au:N/C:N/I:N/A:P 5 – Medium

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 products

VendorProductVersionPlatform
ruby-lang ruby <= 1.9.3 p286 –
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 1.9.3 p0 –
ruby-lang ruby 1.9.3 p125 –
ruby-lang ruby 1.9.3 p194 –
ruby-lang ruby 2.0 –
All 94 Ruby-lang Ruby vulnerabilities

Vulnerability type

CWE-310 Cryptographic Issues

Weaknesses in this category are related to the design and implementation of data confidentiality and integrity. Frequently these deal with the use of encoding techniques, encryption libraries, and hashing algorithms. The weaknesses in this category could lead to a degradation of the quality data if they are not addressed.

Broad category: NVD uses it when it does not assign a more specific type.

All 2,450 CWE-310 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org