CVE-2011-4815
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of service disruption.
- Exploit odds
- 4.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.1% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 4.1% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- ruby-lang Ruby ≤ 1.8.7-p352
- ruby-lang Ruby 1.8.7-p299
- ruby-lang Ruby 1.8.7-p302
- ruby-lang Ruby 1.8.7-p330
- ruby-lang Ruby 1.8.7-p334
Attack profile CVSS 2.0 · 7.8
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Complete
Raw vector
AV:N/AC:L/Au:N/C:N/I:N/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-4815.md and follow it. Check whether this project is affected by CVE-2011-4815. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
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