Vulnerability identifier: #VU32730
Vulnerability risk: Medium
CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID:
CWE-ID:
CWE-20
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Ruby
Universal components / Libraries /
Scripting languages
Vendor: Ruby
Description
The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.
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.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Ruby: 1.8.0 - 1.8.7-p352
External links
https://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html
https://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391606
https://jvn.jp/en/jp/JVN90615481/index.html
https://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000066.html
https://lists.apple.com/archives/security-announce/2012/May/msg00001.html
https://rhn.redhat.com/errata/RHSA-2012-0069.html
https://rhn.redhat.com/errata/RHSA-2012-0070.html
https://secunia.com/advisories/47405
https://secunia.com/advisories/47822
https://support.apple.com/kb/HT5281
https://www.kb.cert.org/vuls/id/903934
https://www.nruns.com/_downloads/advisory28122011.pdf
https://www.ocert.org/advisories/ocert-2011-003.html
https://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm/
https://www.securitytracker.com/id?1026474
https://exchange.xforce.ibmcloud.com/vulnerabilities/72020
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.