Cryptographic issues in Ruby - CVE-2012-5371

 

Cryptographic issues in Ruby - CVE-2012-5371

Published: November 28, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43289
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2012-5371
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Ruby
Software vendor:
Ruby

Description

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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.


Remediation

Install update from vendor's website.

External links