Mageia 2021-0542: java openjdk security update
Summary
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)
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)
The java-11-openjdk packages provide the OpenJDK 11 Java Runtime
Environment and the OpenJDK 11 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: Non-constant comparison during TLS handshakes (JSSE,
8269618) (CVE-2021-35603)
References
- https://bugs.mageia.org/show_bug.cgi?id=29590
- https://access.redhat.com/errata/RHSA-2021:3893
- https://access.redhat.com/errata/RHSA-2021:3891
- https://www.oracle.com/security-alerts/cpuoct2021.html#AppendixJAVA
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35550
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35556
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35559
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35561
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35564
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35565
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35567
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35578
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35586
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35588
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35603
Resolution
MGASA-2021-0542 - Updated java openjdk packages fix security vulnerability
SRPMS
- 8/core/java-1.8.0-openjdk-1.8.0.312.b07-2.1.mga8
- 8/core/java-11-openjdk-11.0.13.0.8-2.1.mga8