Rapid7 Vulnerability & Exploit Database

RHSA-2012:0475: tomcat6 security update

Back to Search

RHSA-2012:0475: tomcat6 security update



Apache Tomcat is a servlet container for the Java Servlet and JavaServerPages (JSP) technologies.It was found that the Java hashCode() method implementation was susceptibleto predictable hash collisions. A remote attacker could use this flaw tocause Tomcat to use an excessive amount of CPU time by sending an HTTPrequest with a large number of parameters whose names map to the same hashvalue. This update introduces a limit on the number of parameters processedper request to mitigate this issue. The default limit is 512 forparameters and 128 for headers. These defaults can be changed by settingthe org.apache.tomcat.util.http.Parameters.MAX_COUNT andorg.apache.tomcat.util.http.MimeHeaders.MAX_COUNT system properties.(CVE-2011-4858)It was found that Tomcat did not handle large numbers of parameters andlarge parameter values efficiently. A remote attacker could make Tomcatuse an excessive amount of CPU time by sending an HTTP request containing alarge number of parameters or large parameter values. This updateintroduces limits on the number of parameters and headers processed perrequest to address this issue. Refer to the CVE-2011-4858 description forinformation about the org.apache.tomcat.util.http.Parameters.MAX_COUNT andorg.apache.tomcat.util.http.MimeHeaders.MAX_COUNT system properties.(CVE-2012-0022) Red Hat would like to thank oCERT for reporting CVE-2011-4858. oCERTacknowledges Julian Wälde and Alexander Klink as the original reporters ofCVE-2011-4858.Users of Tomcat should upgrade to these updated packages, which correctthese issues. Tomcat must be restarted for this update to take effect.


  • redhat-upgrade-tomcat6
  • redhat-upgrade-tomcat6-admin-webapps
  • redhat-upgrade-tomcat6-docs-webapp
  • redhat-upgrade-tomcat6-el-2-1-api
  • redhat-upgrade-tomcat6-javadoc
  • redhat-upgrade-tomcat6-jsp-2-1-api
  • redhat-upgrade-tomcat6-lib
  • redhat-upgrade-tomcat6-servlet-2-5-api
  • redhat-upgrade-tomcat6-webapps

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center