Home / mailingsPDF  

[RHSA-2022:5726-01] Important: java-17-openjdk security, bug fix, and enhancement update

Posted on 27 July 2022
RedHat

===================================================================== Red Hat Security Advisory

Synopsis: Important: java-17-openjdk security, bug fix, and enhancement update
Advisory ID: RHSA-2022:5726-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2022:5726
Issue date: 2022-07-26
CVE Names: CVE-2022-21540 CVE-2022-21541 CVE-2022-21549
CVE-2022-34169
=====================================================================
1. Summary:

An update for java-17-openjdk is now available for Red Hat Enterprise Linux
8.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. 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

3. Description:

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)

4. 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.

5. Bugs fixed (https://bugzilla.redhat.com/):

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]

6. 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
java-17-openjdk-headless-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-javadoc-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-javadoc-zip-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-jmods-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-src-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-static-libs-17.0.4.0.8-2.el8_6.ppc64le.rpm

s390x:
java-17-openjdk-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-debuginfo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-debugsource-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-demo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-devel-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-devel-debuginfo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-headless-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-headless-debuginfo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-javadoc-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-javadoc-zip-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-jmods-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-src-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-static-libs-17.0.4.0.8-2.el8_6.s390x.rpm

x86_64:
java-17-openjdk-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-debugsource-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-demo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-devel-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-devel-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-headless-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-headless-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-javadoc-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-javadoc-zip-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-jmods-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-src-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-static-libs-17.0.4.0.8-2.el8_6.x86_64.rpm

Red Hat CodeReady Linux Builder (v. 8):

aarch64:
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-fastdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-demo-slowdebug-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-devel-fastdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-devel-fastdebug-debuginfo-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-devel-slowdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-devel-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-fastdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-fastdebug-debuginfo-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-headless-fastdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-headless-fastdebug-debuginfo-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-headless-slowdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-headless-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-jmods-fastdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-jmods-slowdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-slowdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-src-fastdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-src-slowdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-static-libs-fastdebug-17.0.4.0.8-2.el8_6.aarch64.rpm
java-17-openjdk-static-libs-slowdebug-17.0.4.0.8-2.el8_6.aarch64.rpm

ppc64le:
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-fastdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-demo-slowdebug-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-devel-fastdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-devel-fastdebug-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-devel-slowdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-devel-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-fastdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-fastdebug-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-headless-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-headless-fastdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-headless-fastdebug-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-headless-slowdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-headless-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-jmods-fastdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-jmods-slowdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-slowdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-src-fastdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-src-slowdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-static-libs-fastdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm
java-17-openjdk-static-libs-slowdebug-17.0.4.0.8-2.el8_6.ppc64le.rpm

s390x:
java-17-openjdk-debuginfo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-debugsource-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-demo-slowdebug-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-devel-debuginfo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-devel-slowdebug-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-devel-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-headless-debuginfo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-headless-slowdebug-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-headless-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-jmods-slowdebug-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-slowdebug-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-src-slowdebug-17.0.4.0.8-2.el8_6.s390x.rpm
java-17-openjdk-static-libs-slowdebug-17.0.4.0.8-2.el8_6.s390x.rpm

x86_64:
java-17-openjdk-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-debugsource-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-demo-fastdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-demo-slowdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-devel-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-devel-fastdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-devel-fastdebug-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-devel-slowdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-devel-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-fastdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-fastdebug-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-headless-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-headless-fastdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-headless-fastdebug-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-headless-slowdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-headless-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-jmods-fastdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-jmods-slowdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-slowdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-slowdebug-debuginfo-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-src-fastdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-src-slowdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-static-libs-fastdebug-17.0.4.0.8-2.el8_6.x86_64.rpm
java-17-openjdk-static-libs-slowdebug-17.0.4.0.8-2.el8_6.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. 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

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2022 Red Hat, Inc.

 

TOP