ruby: hash table collisions CPU usage DoS (oCERT-2011-003)
Published Dec 30, 2011
7.8
HIGHCVSS 2.0
EPSS 4.06%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 4
ruby-0:1.8.1-18.el4
Fixed · RHSA-2012:0070
Red Hat Enterprise Linux 5
ruby-0:1.8.5-22.el5_7.1
Fixed · RHSA-2012:0070
Red Hat Enterprise Linux 6
ruby-0:1.8.7.352-4.el6_2
Fixed · RHSA-2012:0069
Red Hat Hardened Images
ruby3-3-main-3.3.10-23.1.hum1
Fixed · RHSA-2026:7305
Red Hat Hardened Images
ruby3-4-main-3.4.8-31.1.hum1
Fixed · RHSA-2026:7307
Red Hat Hardened Images
ruby4-0-main-4.0.0-33.3.hum1
Fixed · RHSA-2026:8838
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | ruby-0:1.8.1-18.el4 | Fixed | RHSA-2012:0070 |
| Red Hat Enterprise Linux 5 | ruby-0:1.8.5-22.el5_7.1 | Fixed | RHSA-2012:0070 |
| Red Hat Enterprise Linux 6 | ruby-0:1.8.7.352-4.el6_2 | Fixed | RHSA-2012:0069 |
| Red Hat Hardened Images | ruby3-3-main-3.3.10-23.1.hum1 | Fixed | RHSA-2026:7305 |
| Red Hat Hardened Images | ruby3-4-main-3.4.8-31.1.hum1 | Fixed | RHSA-2026:7307 |
| Red Hat Hardened Images | ruby4-0-main-4.0.0-33.3.hum1 | Fixed | RHSA-2026:8838 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.06% (0.04059) | 90.34th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.25% (0.04246) | 89.72th | v5 (v2026.06.15) |
| Jun 3, 2026 | 0.95% (0.00946) | 76.67th | v4 (v2025.03.14) |
| Apr 23, 2025 | 2.04% (0.02035) | 82.79th | v4 (v2025.03.14) |
| Mar 30, 2025 | 10.95% (0.10950) | 92.77th | v4 (v2025.03.14) |
| Mar 29, 2025 | 14.04% (0.14039) | 90.59th | v4 (v2025.03.14) |
| Mar 20, 2025 | 10.95% (0.10950) | 92.85th | v4 (v2025.03.14) |
| Mar 17, 2025 | 13.00% (0.13002) | 93.53th | v4 (v2025.03.14) |
| Dec 12, 2024 | 2.02% (0.02016) | 89.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.02% (0.02016) | 87.09th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (20)
- http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html mailing-listx_refsource_BUGTRAQ
- http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391606 mailing-listx_refsource_MLIST
- http://jvn.jp/en/jp/JVN90615481/index.html third-party-advisoryx_refsource_JVN
- http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000066.html third-party-advisoryx_refsource_JVNDB
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html vendor-advisoryx_refsource_APPLE
- http://rhn.redhat.com/errata/RHSA-2012-0069.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2012-0070.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/47405 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/47822 third-party-advisoryx_refsource_SECUNIA
- http://support.apple.com/kb/HT5281 x_refsource_CONFIRM
- http://www.kb.cert.org/vuls/id/903934 third-party-advisoryx_refsource_CERT-VNUS Government Resource
- http://www.nruns.com/_downloads/advisory28122011.pdf x_refsource_MISC
- http://www.ocert.org/advisories/ocert-2011-003.html x_refsource_MISC
- http://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm/ x_refsource_CONFIRM
- http://www.securitytracker.com/id?1026474 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2011-4815 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=750564 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72020 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2011-4815
- https://www.cve.org/CVERecord?id=CVE-2011-4815
Change history (0)
No recorded changes yet.