ALAS-2015-571


Amazon Linux AMI Security Advisory: ALAS-2015-571
Advisory Release Date: 2015-07-22 10:00 Pacific
Severity: Important

Issue Overview:

Multiple flaws were discovered in the 2D, CORBA, JMX, Libraries and RMI components in OpenJDK. An untrusted Java application or applet could use these flaws to bypass Java sandbox restrictions. (CVE-2015-4760 , CVE-2015-2628 , CVE-2015-4731 , CVE-2015-2590 , CVE-2015-4732 , CVE-2015-4733 )

A flaw was found in the way the Libraries component of OpenJDK verified Online Certificate Status Protocol (OCSP) responses. An OCSP response with no nextUpdate date specified was incorrectly handled as having unlimited validity, possibly causing a revoked X.509 certificate to be interpreted as valid. (CVE-2015-4748 )

It was discovered that the JCE component in OpenJDK failed to use constant time comparisons in multiple cases. An attacker could possibly use these flaws to disclose sensitive information by measuring the time used to perform operations using these non-constant time comparisons. (CVE-2015-2601 )

It was discovered that the GCM (Galois Counter Mode) implementation in the Security component of OpenJDK failed to properly perform a null check. This could cause the Java Virtual Machine to crash when an application performed encryption using a block cipher in the GCM mode. (CVE-2015-2659 )

A flaw was found in the RC4 encryption algorithm. When using certain keys for RC4 encryption, an attacker could obtain portions of the plain text from the cipher text without the knowledge of the encryption key. (CVE-2015-2808 )

Please note that with this update, OpenJDK now disables RC4 TLS/SSL cipher suites by default to address the CVE-2015-2808 issue.

A flaw was found in the way the TLS protocol composed the Diffie-Hellman (DH) key exchange. A man-in-the-middle attacker could use this flaw to force the use of weak 512 bit export-grade keys during the key exchange, allowing them do decrypt all traffic. (CVE-2015-4000 )

Please note that this update forces the TLS/SSL client implementation in OpenJDK to reject DH key sizes below 768 bits, which prevents sessions to be downgraded to export-grade keys.

It was discovered that the JNDI component in OpenJDK did not handle DNS resolutions correctly. An attacker able to trigger such DNS errors could cause a Java application using JNDI to consume memory and CPU time, and possibly block further DNS resolution. (CVE-2015-4749 )

Multiple information leak flaws were found in the JMX and 2D components in OpenJDK. An untrusted Java application or applet could use this flaw to bypass certain Java sandbox restrictions. (CVE-2015-2621 , CVE-2015-2632 )

A flaw was found in the way the JSSE component in OpenJDK performed X.509 certificate identity verification when establishing a TLS/SSL connection to a host identified by an IP address. In certain cases, the certificate was accepted as valid if it was issued for a host name to which the IP address resolves rather than for the IP address. (CVE-2015-2625 )

Multiple insecure temporary file use issues were found in the way the Hotspot component in OpenJDK created performance statistics and error log files. A local attacker could possibly make a victim using OpenJDK overwrite arbitrary files using a symlink attack.


Affected Packages:

java-1.8.0-openjdk


Issue Correction:
Run yum update java-1.8.0-openjdk to update your system.

New Packages:
i686:
    java-1.8.0-openjdk-devel-1.8.0.51-1.b16.6.amzn1.i686
    java-1.8.0-openjdk-headless-1.8.0.51-1.b16.6.amzn1.i686
    java-1.8.0-openjdk-demo-1.8.0.51-1.b16.6.amzn1.i686
    java-1.8.0-openjdk-1.8.0.51-1.b16.6.amzn1.i686
    java-1.8.0-openjdk-src-1.8.0.51-1.b16.6.amzn1.i686
    java-1.8.0-openjdk-debuginfo-1.8.0.51-1.b16.6.amzn1.i686

noarch:
    java-1.8.0-openjdk-javadoc-1.8.0.51-1.b16.6.amzn1.noarch

src:
    java-1.8.0-openjdk-1.8.0.51-1.b16.6.amzn1.src

x86_64:
    java-1.8.0-openjdk-1.8.0.51-1.b16.6.amzn1.x86_64
    java-1.8.0-openjdk-devel-1.8.0.51-1.b16.6.amzn1.x86_64
    java-1.8.0-openjdk-demo-1.8.0.51-1.b16.6.amzn1.x86_64
    java-1.8.0-openjdk-debuginfo-1.8.0.51-1.b16.6.amzn1.x86_64
    java-1.8.0-openjdk-src-1.8.0.51-1.b16.6.amzn1.x86_64
    java-1.8.0-openjdk-headless-1.8.0.51-1.b16.6.amzn1.x86_64