Input validation error in Ruby - CVE-2011-4815

 

Input validation error in Ruby - CVE-2011-4815

Published: December 30, 2011 / Updated: July 28, 2020


Vulnerability identifier: #VU32730
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2011-4815
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Ruby
Amazon Linux AMI
ruby (Alpine package)

How to mitigate CVE-2011-4815

Install update from vendor's website.

ruby (Alpine package) - update to 1.8.7_p357-r0

External References

Related Security Bulletins