Bug 788606 - CVE-2011-5035 OpenJDK: HttpServer no header count limit (Lightweight HTTP Server, 7126960)
Summary: CVE-2011-5035 OpenJDK: HttpServer no header count limit (Lightweight HTTP Ser...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 787142 787143 787144 787145 788202 788203 788204 788205 788206 813689 813690 813691 813692
Blocks: hashdos, oCERT-2011-003 786724
TreeView+ depends on / blocked
 
Reported: 2012-02-08 15:20 UTC by Tomas Hoger
Modified: 2021-02-24 13:12 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-25 07:02:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0135 0 normal SHIPPED_LIVE Critical: java-1.6.0-openjdk security update 2012-02-15 04:42:17 UTC
Red Hat Product Errata RHSA-2012:0139 0 normal SHIPPED_LIVE Critical: java-1.6.0-sun security update 2012-02-17 00:00:49 UTC
Red Hat Product Errata RHSA-2012:0322 0 normal SHIPPED_LIVE Important: java-1.6.0-openjdk security update 2012-02-22 02:57:32 UTC
Red Hat Product Errata RHSA-2012:0514 0 normal SHIPPED_LIVE Critical: java-1.6.0-ibm security update 2013-11-13 16:13:53 UTC
Red Hat Product Errata RHSA-2013:1455 0 normal SHIPPED_LIVE Low: Red Hat Network Satellite server IBM Java Runtime security update 2013-10-23 20:30:21 UTC

Description Tomas Hoger 2012-02-08 15:20:54 UTC
It was discovered that HttpServer class did not limit the number of headers read from the HTTP request. An HTTP client could send a request with a large amount of headers and make HttpServer use an excessive amount CPU time by triggering collisions in the HashMap class (see bug #750533) used to store headers form a request.

The fix addresses the problem by adding a header count limit controlled using the sun.net.httpserver.maxReqHeaders properly with the default value of 200.

Comment 5 Vincent Danen 2012-02-14 23:07:42 UTC
External Reference:

http://www.oracle.com/technetwork/topics/security/javacpufeb2012-366318.html

Comment 6 errata-xmlrpc 2012-02-14 23:42:49 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0135 https://rhn.redhat.com/errata/RHSA-2012-0135.html

Comment 7 Tomas Hoger 2012-02-15 08:45:49 UTC
Patches were applied in following IcedTea versions:

* IcedTea6 1.8.13 (based on OpenJDK6 b18)
* IcedTea6 1.9.13 (based on OpenJDK6 b20)
* IcedTea6 1.10.6 (based on OpenJDK6 b22)
* IcedTea6 1.11.1 (based on OpenJDK6 b24)
* IcedTea 2.0.1 (based on OpenJDK7 u1 + u3 security patches)

http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-February/017249.html
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-February/017233.html

Patch:
http://icedtea.classpath.org/hg/release/icedtea6-1.10/file/4e7a700d4ecc/patches/security/20120214/7126960.patch

Comment 8 errata-xmlrpc 2012-02-16 19:01:48 UTC
This issue has been addressed in following products:

  Extras for RHEL 4
  Supplementary for Red Hat Enterprise Linux 5
  Supplementary for Red Hat Enterprise Linux 6

Via RHSA-2012:0139 https://rhn.redhat.com/errata/RHSA-2012-0139.html

Comment 9 errata-xmlrpc 2012-02-21 21:58:28 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:0322 https://rhn.redhat.com/errata/RHSA-2012-0322.html

Comment 10 errata-xmlrpc 2012-04-24 19:36:23 UTC
This issue has been addressed in following products:

  Supplementary for Red Hat Enterprise Linux 5
  Supplementary for Red Hat Enterprise Linux 6

Via RHSA-2012:0514 https://rhn.redhat.com/errata/RHSA-2012-0514.html

Comment 11 errata-xmlrpc 2013-10-23 17:02:53 UTC
This issue has been addressed in following products:

  Red Hat Network Satellite Server v 5.4

Via RHSA-2013:1455 https://rhn.redhat.com/errata/RHSA-2013-1455.html


Note You need to log in before you can comment on or make changes to this bug.