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 attack...
MediumCVSS 5.0
EPSS 3.3%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang ruby | <= 1.9.3 | No fix listed |
| ruby-lang ruby | = 1.9 | No fix listed |
| ruby-lang ruby | = 1.9.1 | No fix listed |
| ruby-lang ruby | = 1.9.2 | No fix listed |
| ruby-lang ruby | = 1.9.3 | No fix listed |
| ruby-lang ruby | = 1.9.3-p0 | No fix listed |
| ruby-lang ruby | = 1.9.3-p125 | No fix listed |
| ruby-lang ruby | = 1.9.3-p194 | No fix listed |
| ruby-lang ruby | = 2.0 | No fix listed |
References
- 2012.appsec-forum.ch
- asfws12.files.wordpress.com
- 51253 third-party-advisory
- 1027747 patch vdb-entry
- www.ocert.org
- 87280 vdb-entry
- www.ruby-lang.org patch vendor-advisory
- 56484 vdb-entry
- USN-1733-1 vendor-advisory
- bugzilla.redhat.com patch
- ruby-hash-function-dos(79993) vdb-entry
- www.131002.net