Servers and applications
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…
- Severity
- Medium 5.0
- Published
- 28 Nov 2012
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 21 Oct 2026
- Exploit chance
- 3.3% in the next 30 daysHigher than 88% of CVEs. EPSS by FIRST, 12 Nov 2026
- Weakness
- CWE-310
- Attack
- Over the network · No login needed
- Attacker can
- Slow it down
- CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P- Sources
- NVD
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 software
| Software | Affected versions |
|---|---|
RubyServers and applications · cpe:a:ruby-lang:ruby |
All 9 release lines
|