RHSA-2021:3893: Important: java-1.8.0-openjdk security and bug fix update
The java-1.8.0-openjdk packages provide the OpenJDK 8 Java Runtime Environment and the OpenJDK 8 Java Software Development Kit.Security Fix(es): OpenJDK: Loop in HttpsServer triggered during TLS session close (JSSE, 8254967) (CVE-2021-35565) OpenJDK: Incorrect principal selection when using Kerberos Constrained Delegation (Libraries, 8266689) (CVE-2021-35567) OpenJDK: Weak ciphers preferred over stronger ones for TLS (JSSE, 8264210) (CVE-2021-35550) OpenJDK: Excessive memory allocation in RTFParser (Swing, 8265167) (CVE-2021-35556) OpenJDK: Excessive memory allocation in RTFReader (Swing, 8265580) (CVE-2021-35559) OpenJDK: Excessive memory allocation in HashMap and HashSet (Utility, 8266097) (CVE-2021-35561) OpenJDK: Certificates with end dates too far in the future can corrupt keystore (Keytool, 8266137) (CVE-2021-35564) OpenJDK: Unexpected exception raised during TLS handshake (JSSE, 8267729) (CVE-2021-35578) OpenJDK: Excessive memory allocation in BMPImageReader (ImageIO, 8267735) (CVE-2021-35586) OpenJDK: Incomplete validation of inner class references in ClassFileParser (Hotspot, 8268071) (CVE-2021-35588) OpenJDK: Non-constant comparison during TLS handshakes (JSSE, 8269618) (CVE-2021-35603) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.Bug Fix(es): Previously, OpenJDK's FIPS mode would be enabled if it detected that the system crypto policy was set to FIPS. This meant that containers running on a FIPS mode kernel would not enable FIPS mode without the crypto policy being changed. With this update, OpenJDK queries the NSS library as to whether FIPS mode is active or not. (RHBZ#2014201) The use of the NSS FIPS mode by OpenJDK requires the JDK to login to the NSS software token. Previously, this happened indirectly as part of some crypto operations, but not others. With this update, the JDK logs in to the token on initialisation. (RHBZ#2014204) While in FIPS mode, the NSS Software Token does not allow the import of private or secret plain keys. This caused the OpenJDK keytool application to fail when used with OpenJDK in FIPS mode. With this update, OpenJDK will now import such keys into the NSS database. This behaviour may be disabled using -Dcom.redhat.fips.plainKeySupport=false. (RHBZ#2014193)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-accessibility-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-debugsource-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-fastdebug-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-slowdebug-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-fastdebug-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-slowdebug-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-fastdebug-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-fastdebug-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-slowdebug-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-javadoc-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-javadoc-zip-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-slowdebug-debuginfo-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-src-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-accessibility-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-debuginfo-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-debugsource-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-debuginfo-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-slowdebug-debuginfo-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-debuginfo-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-slowdebug-debuginfo-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-debuginfo-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-slowdebug-debuginfo-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-slowdebug-debuginfo-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-src-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-accessibility-fastdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-accessibility-slowdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-fastdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-slowdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-fastdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-slowdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-fastdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-fastdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-slowdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-slowdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-src-fastdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-src-slowdebug-1.8.0.312.b07-1.el8_4 - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-accessibility-slowdebug-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-demo-slowdebug-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-devel-slowdebug-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-headless-slowdebug-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-slowdebug-1.8.0.312.b07-1.el8_4.aa - Upgrade
Upgrade
redhat/javato a version that resolves this vulnerability.Fixed in 1.8.0-openjdk-src-slowdebug-1.8.0.312.b07-1.el8_4.aa - Configuration
Disable the behaviour that may require plain key support by setting the JVM system property -Dcom.redhat.fips.plainKeySupport=false (applies to OpenJDK 8 in FIPS mode per the advisory text).
OpenJDK (FIPS mode) -Dcom.redhat.fips.plainKeySupport = false - Operational
After applying the java-1.8.0-openjdk security update, restart all running instances of OpenJDK Java so the update takes effect.
- Operational
In FIPS mode, ensure OpenJDK can login to the NSS software token during JDK initialization (this update makes the JDK login on initialisation, and enables importing private/secret plain keys into the NSS database in FIPS mode as described).
Event History
Frequently Asked Questions
What is the severity of RHSA-2021:3893?
The severity of RHSA-2021:3893 is classified as important.
How do I fix RHSA-2021:3893?
To fix RHSA-2021:3893, install the updated packages for OpenJDK as specified in the advisory.
What systems are affected by RHSA-2021:3893?
RHSA-2021:3893 affects systems running java-1.8.0-openjdk versions prior to 1.8.0-openjdk-1.8.0.312.b07-1.el8_4.
What vulnerabilities does RHSA-2021:3893 address?
RHSA-2021:3893 addresses vulnerabilities such as CVE-2021-35565 concerning a loop in HttpsServer during TLS session close.
Is there a workaround for RHSA-2021:3893?
No specific workaround is recommended for RHSA-2021:3893; it is advised to apply the security updates promptly.