Every CVE Search/ Get API key

CVE-2011-4815

Ruby (aka CRuby) before 1.8.7-p357 computes hash values without restricting the ability to...

7.8 HighFix available

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.

Exploit likelihood

4.06%Up 1.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2011-4815
CVSS 2.0
7.8 HighAV:N/AC:L/Au:N/C:N/I:N/A:C
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2011-4815
Updated
2026-11-02
EUVDEUVD-2011-4733 No score

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.

Record
EUVD-2011-4733
Updated
2026-11-03
GitHub AdvisoriesGHSA-xpr8-vpc7-7vfc No score

Ruby (aka CRuby) before 1.8.7-p357 computes hash values without restricting the ability to...

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.

Record
GHSA-xpr8-vpc7-7vfc
Weakness
CWE-20
Updated
2026-11-02
OSVRHSA-2026:7305 7.5

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:7305
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVRHSA-2026:7307 7.5

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:7307
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVRHSA-2026:8838 7.5

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:8838
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ruby1.8
Debian:6.0
before 1.8.7.302-2squeeze3, plus listed versions
1.8.7.302-21.8.7.302-2squeeze11.8.7.302-2squeeze2
1.8.7.302-2squeeze3
ruby
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-debuginfo
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-irb
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-libs
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-devel
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-docs
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-rdoc
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-ri
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-static
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
Show 103 moreShow less
Affected packages
PackageAffectedFixed
ruby-tcltk
Red Hat:enterprise_linux:6::client
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-irb
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-libs
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-devel
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-docs
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-rdoc
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-ri
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-static
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-tcltk
Red Hat:enterprise_linux:6::computenode
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-debuginfo
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-irb
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-libs
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-devel
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-docs
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-rdoc
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-ri
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-static
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-tcltk
Red Hat:enterprise_linux:6::server
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-irb
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-libs
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-devel
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-docs
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-rdoc
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-ri
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-static
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
ruby-tcltk
Red Hat:enterprise_linux:6::workstation
before 0:1.8.7.352-4.el6_2
0:1.8.7.352-4.el6_2
irb
Red Hat:enterprise_linux:4::as
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby
Red Hat:enterprise_linux:4::as
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-debuginfo
Red Hat:enterprise_linux:4::as
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-devel
Red Hat:enterprise_linux:4::as
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-docs
Red Hat:enterprise_linux:4::as
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-libs
Red Hat:enterprise_linux:4::as
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-mode
Red Hat:enterprise_linux:4::as
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-tcltk
Red Hat:enterprise_linux:4::as
before 0:1.8.1-18.el4
0:1.8.1-18.el4
irb
Red Hat:enterprise_linux:4::desktop
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby
Red Hat:enterprise_linux:4::desktop
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-debuginfo
Red Hat:enterprise_linux:4::desktop
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-devel
Red Hat:enterprise_linux:4::desktop
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-docs
Red Hat:enterprise_linux:4::desktop
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-libs
Red Hat:enterprise_linux:4::desktop
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-mode
Red Hat:enterprise_linux:4::desktop
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-tcltk
Red Hat:enterprise_linux:4::desktop
before 0:1.8.1-18.el4
0:1.8.1-18.el4
irb
Red Hat:enterprise_linux:4::es
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby
Red Hat:enterprise_linux:4::es
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-debuginfo
Red Hat:enterprise_linux:4::es
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-devel
Red Hat:enterprise_linux:4::es
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-docs
Red Hat:enterprise_linux:4::es
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-libs
Red Hat:enterprise_linux:4::es
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-mode
Red Hat:enterprise_linux:4::es
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-tcltk
Red Hat:enterprise_linux:4::es
before 0:1.8.1-18.el4
0:1.8.1-18.el4
irb
Red Hat:enterprise_linux:4::ws
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby
Red Hat:enterprise_linux:4::ws
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-debuginfo
Red Hat:enterprise_linux:4::ws
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-devel
Red Hat:enterprise_linux:4::ws
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-docs
Red Hat:enterprise_linux:4::ws
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-libs
Red Hat:enterprise_linux:4::ws
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-mode
Red Hat:enterprise_linux:4::ws
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby-tcltk
Red Hat:enterprise_linux:4::ws
before 0:1.8.1-18.el4
0:1.8.1-18.el4
ruby
Red Hat:enterprise_linux:5::client
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-debuginfo
Red Hat:enterprise_linux:5::client
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-docs
Red Hat:enterprise_linux:5::client
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-irb
Red Hat:enterprise_linux:5::client
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-libs
Red Hat:enterprise_linux:5::client
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-rdoc
Red Hat:enterprise_linux:5::client
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-ri
Red Hat:enterprise_linux:5::client
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-tcltk
Red Hat:enterprise_linux:5::client
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby
Red Hat:enterprise_linux:5::client_workstation
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-debuginfo
Red Hat:enterprise_linux:5::client_workstation
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-devel
Red Hat:enterprise_linux:5::client_workstation
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-mode
Red Hat:enterprise_linux:5::client_workstation
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-debuginfo
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-devel
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-docs
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-irb
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-libs
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-mode
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-rdoc
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-ri
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby-tcltk
Red Hat:enterprise_linux:5::server
before 0:1.8.5-22.el5_7.1
0:1.8.5-22.el5_7.1
ruby3.3
Red Hat:hummingbird:1
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-bundled-gems
Red Hat:hummingbird:1
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-default-gems
Red Hat:hummingbird:1
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-devel
Red Hat:hummingbird:1
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-doc
Red Hat:hummingbird:1
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-libs
Red Hat:hummingbird:1
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.4
Red Hat:hummingbird:1
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-bundled-gems
Red Hat:hummingbird:1
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-default-gems
Red Hat:hummingbird:1
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-devel
Red Hat:hummingbird:1
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-doc
Red Hat:hummingbird:1
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-libs
Red Hat:hummingbird:1
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby4.0
Red Hat:hummingbird:1
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-bundled-gems
Red Hat:hummingbird:1
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-default-gems
Red Hat:hummingbird:1
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-devel
Red Hat:hummingbird:1
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-doc
Red Hat:hummingbird:1
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-libs
Red Hat:hummingbird:1
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2011-4815 is a high vulnerability (CVSS 7.8) in Ruby-lang Ruby, published December 30, 2011. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.06%, the 90th percentile. Fixed in ruby1.8 1.8.7.302-2squeeze3.

References

Show 178 moreShow less
MoveEnter Open