ALAS-2017-827

Related Vulnerabilities: CVE-2016-5542   CVE-2017-3509   CVE-2017-3511   CVE-2017-3526   CVE-2017-3533   CVE-2017-3539   CVE-2017-3544  

Improper re-use of NTLM authenticated connections (Networking, 8163520):It was discovered that the HTTP client implementation in the Networking component of OpenJDK could cache and re-use an NTLM authenticated connection in a different security context. A remote attacker could possibly use this flaw to make a Java application perform HTTP requests authenticated with credentials of a different user. (CVE-2017-3509) Newline injection in the SMTP client (Networking, 8171533):A newline injection flaw was discovered in the SMTP client implementation in the Networking component in OpenJDK. A remote attacker could possibly use this flaw to manipulate SMTP connections established by a Java application. (CVE-2017-3544) Newline injection in the FTP client (Networking, 8170222)A newline injection flaw was discovered in the FTP client implementation in the Networking component in OpenJDK. A remote attacker could possibly use this flaw to manipulate FTP connections established by a Java application. (CVE-2017-3533) Missing algorithm restrictions for jar verification (Libraries, 8155973):It was discovered that the Libraries component of OpenJDK did not restrict the set of algorithms used for JAR integrity verification. This flaw could allow an attacker to modify content of the JAR file that used weak signing key or hash algorithm. (CVE-2016-5542) Untrusted extension directories search path in Launcher (JCE, 8163528)An untrusted library search path flaw was found in the JCE component of OpenJDK. A local attacker could possibly use this flaw to cause a Java application using JCE to load an attacker-controlled library and hence escalate their privileges. (CVE-2017-3511) MD5 allowed for jar verification (Security, 8171121)It was discovered that the Security component of OpenJDK did not allow users to restrict the set of algorithms allowed for Jar integrity verification. This flaw could allow an attacker to modify content of the Jar file that used weak signing key or hash algorithm. (CVE-2017-3539) Incomplete XML parse tree size enforcement (JAXP, 8169011)It was found that the JAXP component of OpenJDK failed to correctly enforce parse tree size limits when parsing XML document. An attacker able to make a Java application parse a specially crafted XML document could use this flaw to make it consume an excessive amount of CPU and memory. (CVE-2017-3526)

ALAS-2017-827


Amazon Linux AMI Security Advisory: ALAS-2017-827
Advisory Release Date: 2017-05-09 23:21 Pacific
Advisory Updated Date: 2017-05-10 23:59 Pacific
Severity: Medium

Issue Overview:

Improper re-use of NTLM authenticated connections (Networking, 8163520):
It was discovered that the HTTP client implementation in the Networking component of OpenJDK could cache and re-use an NTLM authenticated connection in a different security context. A remote attacker could possibly use this flaw to make a Java application perform HTTP requests authenticated with credentials of a different user. (CVE-2017-3509)

Newline injection in the SMTP client (Networking, 8171533):
A newline injection flaw was discovered in the SMTP client implementation in the Networking component in OpenJDK. A remote attacker could possibly use this flaw to manipulate SMTP connections established by a Java application. (CVE-2017-3544)

Newline injection in the FTP client (Networking, 8170222)
A newline injection flaw was discovered in the FTP client implementation in the Networking component in OpenJDK. A remote attacker could possibly use this flaw to manipulate FTP connections established by a Java application. (CVE-2017-3533)

Missing algorithm restrictions for jar verification (Libraries, 8155973):
It was discovered that the Libraries component of OpenJDK did not restrict the set of algorithms used for JAR integrity verification. This flaw could allow an attacker to modify content of the JAR file that used weak signing key or hash algorithm. (CVE-2016-5542)

Untrusted extension directories search path in Launcher (JCE, 8163528)
An untrusted library search path flaw was found in the JCE component of OpenJDK. A local attacker could possibly use this flaw to cause a Java application using JCE to load an attacker-controlled library and hence escalate their privileges. (CVE-2017-3511)

MD5 allowed for jar verification (Security, 8171121)
It was discovered that the Security component of OpenJDK did not allow users to restrict the set of algorithms allowed for Jar integrity verification. This flaw could allow an attacker to modify content of the Jar file that used weak signing key or hash algorithm. (CVE-2017-3539)

Incomplete XML parse tree size enforcement (JAXP, 8169011)
It was found that the JAXP component of OpenJDK failed to correctly enforce parse tree size limits when parsing XML document. An attacker able to make a Java application parse a specially crafted XML document could use this flaw to make it consume an excessive amount of CPU and memory. (CVE-2017-3526)


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-headless-1.8.0.131-2.b11.30.amzn1.i686
    java-1.8.0-openjdk-devel-1.8.0.131-2.b11.30.amzn1.i686
    java-1.8.0-openjdk-1.8.0.131-2.b11.30.amzn1.i686
    java-1.8.0-openjdk-src-1.8.0.131-2.b11.30.amzn1.i686
    java-1.8.0-openjdk-demo-1.8.0.131-2.b11.30.amzn1.i686
    java-1.8.0-openjdk-debuginfo-1.8.0.131-2.b11.30.amzn1.i686

noarch:
    java-1.8.0-openjdk-javadoc-zip-1.8.0.131-2.b11.30.amzn1.noarch
    java-1.8.0-openjdk-javadoc-1.8.0.131-2.b11.30.amzn1.noarch

src:
    java-1.8.0-openjdk-1.8.0.131-2.b11.30.amzn1.src

x86_64:
    java-1.8.0-openjdk-src-1.8.0.131-2.b11.30.amzn1.x86_64
    java-1.8.0-openjdk-debuginfo-1.8.0.131-2.b11.30.amzn1.x86_64
    java-1.8.0-openjdk-demo-1.8.0.131-2.b11.30.amzn1.x86_64
    java-1.8.0-openjdk-headless-1.8.0.131-2.b11.30.amzn1.x86_64
    java-1.8.0-openjdk-1.8.0.131-2.b11.30.amzn1.x86_64
    java-1.8.0-openjdk-devel-1.8.0.131-2.b11.30.amzn1.x86_64