Live threats

All CVEs / Ruby-lang

CVE-2011-4815Ruby-lang Ruby

High 7.8 No auth needed

Priority
62
CVSS 2.0
7.8
EPSS
4.1%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Dec 30, 2011
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:L/Au:N/C:N/I:N/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby≤ 1.8.7-p352
ruby-langruby1.8.7-p299
ruby-langruby1.8.7-p302
ruby-langruby1.8.7-p330
ruby-langruby1.8.7-p334

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.