Vulnerabilities · 2011 · Ruby-lang
CVE-2011-4815
Ruby-lang Ruby vulnerability
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.
Affected products
Ruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- archives.neohapsis.com/archives/bugtraq/2011-12/0181.html
- blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391606
- jvn.jp/en/jp/JVN90615481/index.html
- jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000066.html
- lists.apple.com/archives/security-announce/2012/May/msg00001.html
- rhn.redhat.com/errata/RHSA-2012-0069.html
- rhn.redhat.com/errata/RHSA-2012-0070.html
- secunia.com/advisories/47405
- nvd.nist.gov/vuln/detail/CVE-2011-4815
- cve.org/CVERecord?id=CVE-2011-4815
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.