CVE-2011-4815
HIGH 7.8CVSS 2.0Ruby (aka CRuby) before 1.8.7-p357 computes hash values without 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.
- Published
- 30 Dec 2011
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
<= 1.8.7-p352 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.7-p299:*:*:*:*:*:*:* |
= 1.8.7-p299 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.7-p302:*:*:*:*:*:*:* |
= 1.8.7-p302 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.7-p330:*:*:*:*:*:*:* |
= 1.8.7-p330 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.7-p334:*:*:*:*:*:*:* |
= 1.8.7-p334 |
References
- http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html
- http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391606
- http://jvn.jp/en/jp/JVN90615481/index.html
- http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000066.html
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2012-0069.html
- http://rhn.redhat.com/errata/RHSA-2012-0070.html
- http://secunia.com/advisories/47405
- http://secunia.com/advisories/47822
- http://support.apple.com/kb/HT5281
- http://www.kb.cert.org/vuls/id/903934 · US Government Resource
- http://www.nruns.com/_downloads/advisory28122011.pdf
- http://www.ocert.org/advisories/ocert-2011-003.html
- http://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm/
- http://www.securitytracker.com/id?1026474
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72020
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 30 Dec 2011)