CVE-2011-4858: Medium severity Apache Tomcat vulnerability
Apache Tomcat before 5.5.35, 6.x before 6.0.35, and 7.x before 7.0.23 computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted parameters.
Other sources
Julian Wälde and Alexander Klink reported a way to degrade performance of the Java Hashtable implementation by filling the hash table with keys with identical hash codes - see bug #750533 for details. This issue can be used to mount an efficient denial of service attack against Tomcat application server, that parses HTTP request parameters to a hash table and hence exposes this problem. A remote attack could use that to make Tomcat java process use an excessive amount of CPU time by sending a POST request with large amount of parameters which hash to the same value.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache Tomcatto a version that resolves this vulnerability.Fixed in 5.5.35 - Upgrade
Upgrade
Apache Tomcatto a version that resolves this vulnerability.Fixed in 6.0.35 - Upgrade
Upgrade
Apache Tomcatto a version that resolves this vulnerability.Fixed in 7.0.23
Event History
Frequently Asked Questions
What is the severity of CVE-2011-4858?
CVE-2011-4858 is classified with a moderate severity level due to its potential to cause denial of service through CPU consumption.
How do I fix CVE-2011-4858?
To remediate CVE-2011-4858, you should upgrade to Apache Tomcat version 5.5.35, 6.0.35, or 7.0.23 or later.
What types of attacks can exploit CVE-2011-4858?
CVE-2011-4858 can be exploited through crafted form parameters designed to trigger predictable hash collisions.
Which versions of Apache Tomcat are affected by CVE-2011-4858?
CVE-2011-4858 affects Apache Tomcat versions prior to 5.5.35, 6.x prior to 6.0.35, and 7.x prior to 7.0.23.
What is the impact of CVE-2011-4858 on a web application?
The impact of CVE-2011-4858 is an increased CPU consumption leading to potential denial of service for the web application.