- Issued:
- 2022-05-02
- Updated:
- 2022-05-02
RHBA-2022:1521 - Bug Fix Advisory
Synopsis
Update JBoss Web Server 5.6 for OpenShift images with 5.6.2
Type/Severity
Bug Fix Advisory
Topic
This erratum covers updates to the current JBoss Web Server 5.6 for OpenShift images to consume the JBoss Web Server 5.6.2 release. It also addresses multiple CVEs for java-11-openjdk and java-1.8.0-openjdk.
Description
Red Hat xPaaS provides images for many of the Red Hat Middleware products that are available for use within the OpenShift Container Platform cloud computing Platform-as-a-Service (PaaS) for on-premise or private cloud deployments.
The current JBoss Web Server 5.6 OpenShift images have been updated to consume the JBoss Web Server 5.6.2 release.
The images have also been updated to address the following java-11-openjdk and java-1.8.0-openjdk CVEs:
CVE-2022-21476, CVE-2022-21426, CVE-2022-21434, CVE-2022-21443, CVE-2022-21496
Solution
To update to the latest JBoss Web Server 5.6.2 for OpenShift image on UBI8, perform the following steps to pull in the content:
1. On your master host(s), ensure that you are logged in to the command line interface as a cluster administrator or user who has project administrator access to the global "openshift" project:
$ oc login -u system:admin
2. Run the following command to import the templates:
$ for resource in jws56-openjdk11-tomcat9-ubi8-basic-s2i.json \ jws56-openjdk11-tomcat9-ubi8-https-s2i.json \ jws56-openjdk11-tomcat9-ubi8-image-stream.json \ jws56-openjdk8-tomcat9-ubi8-basic-s2i.json \ jws56-openjdk8-tomcat9-ubi8-https-s2i.json \ jws56-openjdk8-tomcat9-ubi8-image-stream.json do oc replace -n openshift --force -f \ https://raw.githubusercontent.com/jboss-container-images/jboss-webserver-5-openshift-image/jws56el8-v5.6.2/templates/${resource} done
3. Depending on the OpenJDK version, run either of the following commands to update the core JBoss Web Server 5.6 tomcat 9 OpenShift image stream in the "openshift" project:
- For OpenJDK 8:
To update the core JBoss Web Server 5.6 tomcat 9 with OpenJDK 8 OpenShift image, run the following command:
$ oc -n openshift import-image jboss-webserver56-openjdk8-tomcat9-openshift-ubi8:5.6.2
- For OpenJDK 11:
To update the core JBoss Web Server 5.6 tomcat 9 with OpenJDK 11 OpenShift image, run the following command:
$ oc -n openshift import-image jboss-webserver56-openjdk11-tomcat9-openshift-ubi8:5.6.2
Affected Products
- Red Hat OpenShift Container Platform 4.10 for RHEL 8 x86_64
- Red Hat OpenShift Container Platform 4.9 for RHEL 8 x86_64
- Red Hat OpenShift Container Platform for Power 4.10 for RHEL 8 ppc64le
- Red Hat OpenShift Container Platform for Power 4.9 for RHEL 8 ppc64le
- Red Hat OpenShift Container Platform for IBM Z and LinuxONE 4.10 for RHEL 8 s390x
- Red Hat OpenShift Container Platform for IBM Z and LinuxONE 4.9 for RHEL 8 s390x
Fixes
- CLOUD-4098 - [JWS56] Update JWS 5.6 Openshift Images with Service Pack 2
- CLOUD-4099 - [JWS56] Important - java-11-openjdk multiple CVEs
- CLOUD-4100 - [JWS56] Important - java-1.8.0-openjdk multiple CVEs
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.