Description
Ruby (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.
References (16)
Core 16
Core References
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/47405
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id?1026474
Various Sources x_refsource_misc
http://www.nruns.com/_downloads/advisory28122011.pdf
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/47822
Vendor Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2012-0070.html
Third Party Advisory third-party-advisory
x_refsource_jvn
http://jvn.jp/en/jp/JVN90615481/index.html
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/72020
US Government Resource third-party-advisory
x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/903934
Various Sources mailing-list
x_refsource_mlist
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391606
Various Sources x_refsource_confirm
http://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm/
Third Party Advisory mailing-list
x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html
Vendor Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2012-0069.html
Vendor Advisory x_refsource_confirm
http://support.apple.com/kb/HT5281
Mailing List vendor-advisory
x_refsource_apple
http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
Third Party Advisory third-party-advisory
x_refsource_jvndb
http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000066.html
Various Sources x_refsource_misc
http://www.ocert.org/advisories/ocert-2011-003.html
Scores
EPSS
0.0425
EPSS Percentile
89.9%
Details
CWE
CWE-20
Status
published
Products (5)
ruby-lang/ruby
1.8.7-p299
ruby-lang/ruby
1.8.7-p302
ruby-lang/ruby
1.8.7-p330
ruby-lang/ruby
1.8.7-p334
ruby-lang/ruby
< 1.8.7-p352
Published
Dec 30, 2011
Tracked Since
Feb 18, 2026