Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 568
Alerts This Week
Warning Icon 1 568

Red Hat Enterprise Linux 8: RHSA-2022-5726-01 Important Java Fix

red hat
Calendar Grey July 27, 2022
Dist Redhat Esm H88
New release for java-17-openjdk considered crucial includes security patches for Red Hat Enterprise Linux 8.
An update for java-17-openjdk is now available for Red Hat Enterprise Linux 8

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

All running instances of OpenJDK Java must be restarted for this update to take effect.

Summary

The java-17-openjdk packages provide the OpenJDK 17 Java Runtime Environment and the OpenJDK 17 Java Software Development Kit.
The following packages have been upgraded to a later upstream version: java-17-openjdk (17.0.4.0.8). (BZ#2084650)
Security Fix(es):
* OpenJDK: integer truncation issue in Xalan-J (JAXP, 8285407) (CVE-2022-34169)
* OpenJDK: class compilation issue (Hotspot, 8281859) (CVE-2022-21540)
* OpenJDK: improper restriction of MethodHandle.invokeBasic() (Hotspot, 8281866) (CVE-2022-21541)
* OpenJDK: random exponentials issue (Libraries, 8283875) (CVE-2022-21549)
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):
* Previous Red Hat builds of OpenJDK 17 altered the arguments passed to sun.security.pkcs11.wrapper.PKCS11.getInstance() in order to facilitate FIPS support. This build adds an additional form of the method, retaining the original arguments, so that applications which depend on this internal method continue to function with Red Hat builds of OpenJDK. (BZ#2099913)
* With previous Red Hat builds of OpenJDK 17, Mac key generation and import would fail due to the lack of the CKA_SIGN attribute on the key. This attribute is now added as part of the NSS FIPS configuration. (BZ#2108190)
* With the release of Red Hat Enterprise Linux 8.6, a change was made so that disabling OpenJDK FIPS mode required the use of both the - -Djava.security.disableSystemPropertiesFile=true and - -Dcom.redhat.fips=false options, with the intention that FIPS mode could be controlled independently of system security properties. This change has now been reverted and only -Djava.security.disableSystemPropertiesFile=true is required to disable FIPS mode, as in Red Hat Enterprise Linux 8.4. (BZ#2108206)
* Previous Red Hat builds of OpenJDK 17 running in FIPS mode with a SecurityManager would fail due to a lack of module access permissions. This has now been corrected. (BZ#2108209)

References

https://access.redhat.com/security/cve/CVE-2022-21540 https://access.redhat.com/security/cve/CVE-2022-21541 https://access.redhat.com/security/cve/CVE-2022-21549 https://access.redhat.com/security/cve/CVE-2022-34169 https://access.redhat.com/security/updates/classification#important

Package List

Red Hat Enterprise Linux AppStream (v. 8):
Source: java-17-openjdk-17.0.4.0.8-2.el8_6.src.rpm
aarch64: java-17-openjdk-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-debuginfo-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-debugsource-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-demo-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-devel-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-devel-debuginfo-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-headless-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-headless-debuginfo-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-javadoc-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-javadoc-zip-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-jmods-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-src-17.0.4.0.8-2.el8_6.aarch64.rpm java-17-openjdk-static-libs-17.0.4.0.8-2.el8_6.aarch64.rpm
ppc64le: java-17-openjdk-17.0.4.0.8-2.el8_6.ppc64le.rpm java-17-openjdk-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm java-17-openjdk-debugsource-17.0.4.0.8-2.el8_6.ppc64le.rpm java-17-openjdk-demo-17.0.4.0.8-2.el8_6.ppc64le.rpm java-17-openjdk-devel-17.0.4.0.8-2.el8_6.ppc64le.rpm java-17-openjdk-devel-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm java-17-openjdk-headless-17.0.4.0.8-2.el8_6.ppc64le.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2022:5726-01
Product: Red Hat Enterprise Linux
Issue date: 2022-07-26

Topic

An update for java-17-openjdk is now available for Red Hat Enterprise Linux8.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat CodeReady Linux Builder (v. 8) - aarch64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64

Bugs Fixed

2084650 - Prepare for the next quarterly OpenJDK upstream release (2022-07, 17.0.4) [rhel-8] [rhel-8.6.0.z]

2099913 - rh1991003 patch breaks sun.security.pkcs11.wrapper.PKCS11.getInstance() [rhel-8, openjdk-17] [rhel-8.6.0.z]

2108190 - SecretKey generate/import operations don't add the CKA_SIGN attribute in FIPS mode [rhel-8, openjdk-17] [rhel-8.6.0.z]

2108206 - Revert to disabling system security properties and FIPS mode support together [rhel-8, openjdk-17] [rhel-8.6.0.z]

2108209 - SunEC runtime permission for FIPS [rhel-8, openjdk-17] [rhel-8.6.0.z]

2108540 - CVE-2022-21540 OpenJDK: class compilation issue (Hotspot, 8281859)

2108543 - CVE-2022-21541 OpenJDK: improper restriction of MethodHandle.invokeBasic() (Hotspot, 8281866)

2108547 - CVE-2022-21549 OpenJDK: random exponentials issue (Libraries, 8283875)

2108554 - CVE-2022-34169 OpenJDK: integer truncation issue in Xalan-J (JAXP, 8285407)

2109106 - [rpminspect] Disable Java bytecode checks [java-17-openjdk, rhel-8] [rhel-8.6.0.z]

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.