Articles / Red Hat: Updated tomcat5 pa…

Red Hat: Updated tomcat5 packages fix multiple security issues

Apache Tomcat is a servlet container for the Java Servlet and JavaServer Pages (JSP) technologies. It was found that the Java hashCode() method implementation was susceptible to predictable hash collisions. A remote attacker could use this flaw to cause Tomcat to use an excessive amount of CPU time by sending an HTTP request with a large number of parameters whose names map to the same hash value. This update introduces a limit on the number of parameters processed per request to mitigate this issue. It was found that Tomcat did not handle large numbers of parameters and large parameter values efficiently. A remote attacker could make Tomcat use an excessive amount of CPU time by sending an HTTP request containing a large number of parameters or large parameter values. This update introduces limits on the number of parameters and headers processed per request to address this issue.

Updated packages are available from ftp.redhat.com.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                  Red Hat Security Advisory

Synopsis:          Moderate: tomcat5 security update
Advisory ID:       RHSA-2012:0474-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-0474.html
Issue date:        2012-04-11
CVE Names:         CVE-2011-4858 CVE-2012-0022 
=====================================================================

1. Summary:

Updated tomcat5 packages that fix two security issues are now available for
Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

RHEL Desktop Workstation (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

3. Description:

Apache Tomcat is a servlet container for the Java Servlet and JavaServer
Pages (JSP) technologies.

It was found that the Java hashCode() method implementation was susceptible
to predictable hash collisions. A remote attacker could use this flaw to
cause Tomcat to use an excessive amount of CPU time by sending an HTTP
request with a large number of parameters whose names map to the same hash
value. This update introduces a limit on the number of parameters processed
per request to mitigate this issue. The default limit is 512 for
parameters and 128 for headers. These defaults can be changed by setting
the org.apache.tomcat.util.http.Parameters.MAX_COUNT and
org.apache.tomcat.util.http.MimeHeaders.MAX_COUNT system properties.
(CVE-2011-4858)

It was found that Tomcat did not handle large numbers of parameters and
large parameter values efficiently. A remote attacker could make Tomcat
use an excessive amount of CPU time by sending an HTTP request containing a
large number of parameters or large parameter values. This update
introduces limits on the number of parameters and headers processed per
request to address this issue. Refer to the CVE-2011-4858 description for
information about the org.apache.tomcat.util.http.Parameters.MAX_COUNT and
org.apache.tomcat.util.http.MimeHeaders.MAX_COUNT system properties.
(CVE-2012-0022) 

Red Hat would like to thank oCERT for reporting CVE-2011-4858. oCERT
acknowledges Julian Wälde and Alexander Klink as the original reporters of
CVE-2011-4858.

Users of Tomcat should upgrade to these updated packages, which correct
these issues. Tomcat must be restarted for this update to take effect.

4. Solution:

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

750521 - CVE-2011-4858 tomcat: hash table collisions CPU usage DoS (oCERT-2011-003)
783359 - CVE-2012-0022 tomcat: large number of parameters DoS

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/tomcat5-5.5.23-0jpp.31.el5_8.src.rpm

i386:
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-jsp-2.0-api-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-servlet-2.4-api-5.5.23-0jpp.31.el5_8.i386.rpm

x86_64:
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-jsp-2.0-api-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-servlet-2.4-api-5.5.23-0jpp.31.el5_8.x86_64.rpm

RHEL Desktop Workstation (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/tomcat5-5.5.23-0jpp.31.el5_8.src.rpm

i386:
tomcat5-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-admin-webapps-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-common-lib-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-jasper-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-jasper-javadoc-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-jsp-2.0-api-javadoc-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-server-lib-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-servlet-2.4-api-javadoc-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-webapps-5.5.23-0jpp.31.el5_8.i386.rpm

x86_64:
tomcat5-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-admin-webapps-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-common-lib-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-jasper-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-jasper-javadoc-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-jsp-2.0-api-javadoc-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-server-lib-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-servlet-2.4-api-javadoc-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-webapps-5.5.23-0jpp.31.el5_8.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/tomcat5-5.5.23-0jpp.31.el5_8.src.rpm

i386:
tomcat5-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-admin-webapps-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-common-lib-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-jasper-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-jasper-javadoc-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-jsp-2.0-api-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-jsp-2.0-api-javadoc-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-server-lib-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-servlet-2.4-api-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-servlet-2.4-api-javadoc-5.5.23-0jpp.31.el5_8.i386.rpm
tomcat5-webapps-5.5.23-0jpp.31.el5_8.i386.rpm

ia64:
tomcat5-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-admin-webapps-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-common-lib-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-jasper-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-jasper-javadoc-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-jsp-2.0-api-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-jsp-2.0-api-javadoc-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-server-lib-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-servlet-2.4-api-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-servlet-2.4-api-javadoc-5.5.23-0jpp.31.el5_8.ia64.rpm
tomcat5-webapps-5.5.23-0jpp.31.el5_8.ia64.rpm

ppc:
tomcat5-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-5.5.23-0jpp.31.el5_8.ppc64.rpm
tomcat5-admin-webapps-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-common-lib-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.ppc64.rpm
tomcat5-jasper-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-jasper-javadoc-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-jsp-2.0-api-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-jsp-2.0-api-javadoc-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-server-lib-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-servlet-2.4-api-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-servlet-2.4-api-javadoc-5.5.23-0jpp.31.el5_8.ppc.rpm
tomcat5-webapps-5.5.23-0jpp.31.el5_8.ppc.rpm

s390x:
tomcat5-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-admin-webapps-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-common-lib-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-jasper-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-jasper-javadoc-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-jsp-2.0-api-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-jsp-2.0-api-javadoc-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-server-lib-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-servlet-2.4-api-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-servlet-2.4-api-javadoc-5.5.23-0jpp.31.el5_8.s390x.rpm
tomcat5-webapps-5.5.23-0jpp.31.el5_8.s390x.rpm

x86_64:
tomcat5-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-admin-webapps-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-common-lib-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-debuginfo-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-jasper-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-jasper-javadoc-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-jsp-2.0-api-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-jsp-2.0-api-javadoc-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-server-lib-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-servlet-2.4-api-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-servlet-2.4-api-javadoc-5.5.23-0jpp.31.el5_8.x86_64.rpm
tomcat5-webapps-5.5.23-0jpp.31.el5_8.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2011-4858.html
https://www.redhat.com/security/data/cve/CVE-2012-0022.html
https://access.redhat.com/security/updates/classification/#moderate
http://tomcat.apache.org/security-5.html

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2012 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFPhctDXlSAg2UNWIIRAnmwAKCG8ANIA6BMLPlUE4o+l6DV8EXkOgCgopJx
Iouhu7nObQ+2gvPAV+Vvp7o=
=WA/1
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.