CVE-2011-4815
Status: ModifiedHigh (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.
CVSS
- Version: 2.0
- Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C
- Base score: 7.8
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 4.06%
- Percentile among all scored CVEs: 90
- Score date: 10/5/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-20
References
- http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html
- http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391606
- http://jvn.jp/en/jp/JVN90615481/index.html
- http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000066.html
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2012-0069.html
- http://rhn.redhat.com/errata/RHSA-2012-0070.html
- http://secunia.com/advisories/47405
- http://secunia.com/advisories/47822
- http://support.apple.com/kb/HT5281
- http://www.kb.cert.org/vuls/id/903934
- http://www.nruns.com/_downloads/advisory28122011.pdf
- http://www.ocert.org/advisories/ocert-2011-003.html
- http://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm/
- http://www.securitytracker.com/id?1026474
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72020
- http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html
- http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391606
- http://jvn.jp/en/jp/JVN90615481/index.html
- http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000066.html
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2012-0069.html
- http://rhn.redhat.com/errata/RHSA-2012-0070.html
- http://secunia.com/advisories/47405
- http://secunia.com/advisories/47822
- http://support.apple.com/kb/HT5281
- http://www.kb.cert.org/vuls/id/903934
- http://www.nruns.com/_downloads/advisory28122011.pdf
- http://www.ocert.org/advisories/ocert-2011-003.html
- http://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm/
- http://www.securitytracker.com/id?1026474
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72020
Raw JSON (NVD)
Show
{
"id": "CVE-2011-4815",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 7.8,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:C",
"authentication": "NONE",
"integrityImpact": "NONE",
"accessComplexity": "LOW",
"availabilityImpact": "COMPLETE",
"confidentialityImpact": "NONE"
},
"acInsufInfo": false,
"impactScore": 6.9,
"baseSeverity": "HIGH",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2011-12-30T01:55:01.437",
"references": [
{
"url": "http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html",
"source": "cve@mitre.org"
},
{
"url": "http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391606",
"source": "cve@mitre.org"
},
{
"url": "http://jvn.jp/en/jp/JVN90615481/index.html",
"source": "cve@mitre.org"
},
{
"url": "http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000066.html",
"source": "cve@mitre.org"
},
{
"url": "http://lists.apple.com/archives/security-announce/2012/May/msg00001.html",
"source": "cve@mitre.org"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2012-0069.html",
"source": "cve@mitre.org"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2012-0070.html",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/47405",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/47822",
"source": "cve@mitre.org"
},
{
"url": "http://support.apple.com/kb/HT5281",
"source": "cve@mitre.org"
},
{
"url": "http://www.kb.cert.org/vuls/id/903934",
"tags": [
"US Government Resource"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.nruns.com/_downloads/advisory28122011.pdf",
"source": "cve@mitre.org"
},
{
"url": "http://www.ocert.org/advisories/ocert-2011-003.html",
"source": "cve@mitre.org"
},
{
"url": "http://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm/",
"source": "cve@mitre.org"
},
{
"url": "http://www.securitytracker.com/id?1026474",
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/72020",
"source": "cve@mitre.org"
},
{
"url": "http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391606",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://jvn.jp/en/jp/JVN90615481/index.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000066.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://lists.apple.com/archives/security-announce/2012/May/msg00001.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2012-0069.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2012-0070.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/47405",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/47822",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://support.apple.com/kb/HT5281",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.kb.cert.org/vuls/id/903934",
"tags": [
"US Government Resource"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.nruns.com/_downloads/advisory28122011.pdf",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.ocert.org/advisories/ocert-2011-003.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm/",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securitytracker.com/id?1026474",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/72020",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-20"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Ruby (también conocido como CRuby) anterior a v1.8.7-P357 calcula los valores de hash sin restringir la capacidad de desencadenar colisiones hash predecible, que permite a atacantes dependientes de contexto para causar una denegación de servicio (consumo de CPU) a través de entrada diseñado para una aplicación que mantiene un hash mesa."
}
],
"lastModified": "2026-06-16T23:35:27.247",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CF503FC0-3CC4-48BC-89EF-F7DEBF4E2F85",
"versionEndIncluding": "1.8.7-p352"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-p299:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F3F5F64A-855A-41D1-9F89-EE93D0F44D70"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-p302:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "27CC5244-6F8F-4D05-8301-7467A44B962F"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-p330:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D17613F3-63F8-4809-84D1-7CAC943C7B1E"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-p334:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "264C1C64-B631-4C63-9A0A-10C5E3F5D1BB"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}