ALAS-2012-43: java-1.6.0-openjdk Security Update - Multiple Vulnerabilities

February 24, 2012


Amazon Linux AMI Security Advisory: ALAS-2012-43
Advisory Release Date: 2012-02-23 22:27
Severity: Critical
References: RHSA-2012:0135, CVE-2011-5035, CVE-2012-0497, CVE-2011-3563, CVE-2011-3571, CVE-2012-0506, CVE-2012-0505, CVE-2012-0503, CVE-2012-0502, CVE-2012-0501

Issue Overview:
It was discovered that Java2D did not properly check graphics rendering objects before passing them to the native renderer. Malicious input, or an untrusted Java application or applet could use this flaw to crash the Java Virtual Machine (JVM), or bypass Java sandbox restrictions. (CVE-2012-0497)

It was discovered that the exception thrown on deserialization failure did not always contain a proper identification of the cause of the failure. An untrusted Java application or applet could use this flaw to bypass Java sandbox restrictions. (CVE-2012-0505)

The AtomicReferenceArray class implementation did not properly check if the array was of the expected Object[] type. A malicious Java application or applet could use this flaw to bypass Java sandbox restrictions. (CVE-2011-3571)

It was discovered that the use of TimeZone.setDefault() was not restricted by the SecurityManager, allowing an untrusted Java application or applet to set a new default time zone, and hence bypass Java sandbox restrictions. (CVE-2012-0503)

The HttpServer class did not limit the number of headers read from HTTP requests. A remote attacker could use this flaw to make an application using HttpServer use an excessive amount of CPU time via a specially-crafted request. This update introduces a header count limit controlled using the sun.net.httpserver.maxReqHeaders property. The default value is 200. (CVE-2011-5035)

The Java Sound component did not properly check buffer boundaries. Malicious input, or an untrusted Java application or applet could use this flaw to cause the Java Virtual Machine (JVM) to crash or disclose a portion of its memory. (CVE-2011-3563)

A flaw was found in the AWT KeyboardFocusManager that could allow an untrusted Java application or applet to acquire keyboard focus and possibly steal sensitive information. (CVE-2012-0502)

It was discovered that the CORBA (Common Object Request Broker Architecture) implementation in Java did not properly protect repository identifiers on certain CORBA objects. This could have been used to modify immutable object data. (CVE-2012-0506)

An off-by-one flaw, causing a stack overflow, was found in the unpacker for ZIP files. A specially-crafted ZIP archive could cause the Java Virtual Machine (JVM) to crash when opened. (CVE-2012-0501)

Affected Versions:
Any Amazon Linux AMI on which java-1.6.0-openjdk is installed. Note that java-1.6.0-openjdk is installed by default on the Amazon Linux AMI.

Affected Packages:
java-1.6.0-openjdk

Issue Correction:
Run yum upgrade java-1.6.0-openjdk to upgrade your system. All running instances of Java should also be restarted.

New Packages:

i686:
    java-1.6.0-openjdk-1.6.0.0-52.1.10.6.41.amzn1.i686
    java-1.6.0-openjdk-debuginfo-1.6.0.0-52.1.10.6.41.amzn1.i686
    java-1.6.0-openjdk-demo-1.6.0.0-52.1.10.6.41.amzn1.i686
    java-1.6.0-openjdk-devel-1.6.0.0-52.1.10.6.41.amzn1.i686
    java-1.6.0-openjdk-javadoc-1.6.0.0-52.1.10.6.41.amzn1.i686
    java-1.6.0-openjdk-src-1.6.0.0-52.1.10.6.41.amzn1.i686
x86_64:
    java-1.6.0-openjdk-1.6.0.0-52.1.10.6.41.amzn1.x86_64
    java-1.6.0-openjdk-debuginfo-1.6.0.0-52.1.10.6.41.amzn1.x86_64
    java-1.6.0-openjdk-demo-1.6.0.0-52.1.10.6.41.amzn1.x86_64
    java-1.6.0-openjdk-devel-1.6.0.0-52.1.10.6.41.amzn1.x86_64
    java-1.6.0-openjdk-javadoc-1.6.0.0-52.1.10.6.41.amzn1.x86_64
    java-1.6.0-openjdk-src-1.6.0.0-52.1.10.6.41.amzn1.x86_64