-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

Synopsis:          Moderate: Red Hat Single Sign-On 7.4.10 on OpenJ9 for OpenShift image security update
Advisory ID:       RHSA-2022:0445-01
Product:           Red Hat OpenShift Enterprise
Advisory URL:      https://access.redhat.com/errata/RHSA-2022:0445
Issue date:        2022-02-07
CVE Names:         CVE-2021-3521 CVE-2021-3872 CVE-2021-3984 
                   CVE-2021-4019 CVE-2021-4104 CVE-2021-4122 
                   CVE-2021-4192 CVE-2021-4193 CVE-2022-21248 
                   CVE-2022-21282 CVE-2022-21283 CVE-2022-21293 
                   CVE-2022-21294 CVE-2022-21296 CVE-2022-21299 
                   CVE-2022-21305 CVE-2022-21340 CVE-2022-21341 
                   CVE-2022-21360 CVE-2022-21365 CVE-2022-23302 
                   CVE-2022-23305 CVE-2022-23307 
=====================================================================

1. Summary:

A new image is available for Red Hat Single Sign-On 7.4.10 on OpenJ9,
running on OpenShift Container Platform 3.10 and 3.11, and 4.3.

Red Hat Product Security has rated this update as having a security impact
of Moderate. 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. Description:

Red Hat Single Sign-On is an integrated sign-on solution, available as a
Red Hat JBoss Middleware for OpenShift containerized image. The Red Hat
Single Sign-On for OpenShift image provides an authentication server that
you can use to log in centrally, log out, and register. You can also manage
user accounts for web applications, mobile applications, and RESTful web
services.

This erratum releases a new image for Red Hat Single Sign-On 7.4.10 for use
within the OpenShift Container Platform 3.10, OpenShift Container Platform
3.11, and within the OpenShift Container Platform 4.3 cloud computing
Platform-as-a-Service (PaaS) for on-premise or private cloud deployments,
aligning with the standalone product release.

Security Fix(es):

* log4j: SQL injection in Log4j 1.x when application is configured to use
JDBCAppender (CVE-2022-23305)

* log4j: Unsafe deserialization flaw in Chainsaw log viewer
(CVE-2022-23307)

* log4j: Remote code execution in Log4j 1.x when application is configured
to use JMSAppender (CVE-2021-4104)

* log4j: Remote code execution in Log4j 1.x when application is configured
to use JMSSink (CVE-2022-23302)

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.

3. Solution:

To update to the latest Red Hat Single Sign-On 7.4.10 for OpenShift image,
Follow these steps to pull in the content:

1. On your master hosts, ensure you are logged into the CLI as a cluster
administrator or user with project administrator access to the global
"openshift" project. For example:

$ oc login -u system:admin

2. Update the core set of Red Hat Single Sign-On resources for OpenShift in
the "openshift" project by running the following commands:

$ for resource in sso74-image-stream.json \
sso74-https.json \
sso74-mysql.json \
sso74-mysql-persistent.json \
sso74-postgresql.json \
sso74-postgresql-persistent.json \
sso74-x509-https.json \
sso74-x509-mysql-persistent.json \
sso74-x509-postgresql-persistent.json
do
oc replace -n openshift --force -f \
https://raw.githubusercontent.com/jboss-container-images/redhat-sso-7-openshift-image/v7.4.10.GA/templates/${resource}
done

3. Install the Red Hat Single Sign-On 7.4.10 for OpenShift streams in the
"openshift" project by running the following commands:

$ oc -n openshift import-image redhat-sso74-openshift:1.0

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

2031667 - CVE-2021-4104 log4j: Remote code execution in Log4j 1.x when application is configured to use JMSAppender
2041949 - CVE-2022-23302 log4j: Remote code execution in Log4j 1.x when application is configured to use JMSSink
2041959 - CVE-2022-23305 log4j: SQL injection in Log4j 1.x when application is configured to use JDBCAppender
2041967 - CVE-2022-23307 log4j: Unsafe deserialization flaw in Chainsaw log viewer

5. JIRA issues fixed (https://issues.jboss.org/):

CIAM-2059 - [log4j 1.x] test OCP image for ibm p/z

6. References:

https://access.redhat.com/security/cve/CVE-2021-3521
https://access.redhat.com/security/cve/CVE-2021-3872
https://access.redhat.com/security/cve/CVE-2021-3984
https://access.redhat.com/security/cve/CVE-2021-4019
https://access.redhat.com/security/cve/CVE-2021-4104
https://access.redhat.com/security/cve/CVE-2021-4122
https://access.redhat.com/security/cve/CVE-2021-4192
https://access.redhat.com/security/cve/CVE-2021-4193
https://access.redhat.com/security/cve/CVE-2022-21248
https://access.redhat.com/security/cve/CVE-2022-21282
https://access.redhat.com/security/cve/CVE-2022-21283
https://access.redhat.com/security/cve/CVE-2022-21293
https://access.redhat.com/security/cve/CVE-2022-21294
https://access.redhat.com/security/cve/CVE-2022-21296
https://access.redhat.com/security/cve/CVE-2022-21299
https://access.redhat.com/security/cve/CVE-2022-21305
https://access.redhat.com/security/cve/CVE-2022-21340
https://access.redhat.com/security/cve/CVE-2022-21341
https://access.redhat.com/security/cve/CVE-2022-21360
https://access.redhat.com/security/cve/CVE-2022-21365
https://access.redhat.com/security/cve/CVE-2022-23302
https://access.redhat.com/security/cve/CVE-2022-23305
https://access.redhat.com/security/cve/CVE-2022-23307
https://access.redhat.com/security/updates/classification/#moderate

7. Contact:

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

Copyright 2022 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBYgIBQtzjgjWX9erEAQh4vg//fCr9ffrrRDFgkpaz6ZtefamH1NRmbILJ
J7YHqnEssNdYduNGZ/QcmCqw5HOSRLlxm0gv+T0D4Kp7J2cxBTxzr6tqdtxfRmWi
2BizRHLLxwk8qe3NSwKhhTQaA82gtFOuZNOsKY6cHKG9qrFGygEYNVTsoYtQQnvt
dAUTV1fx6ZaBYEsAhmAqLZPt9l6Y6ceqpj6m8h1+fXvJlsMvIErdE1iKWkughPdo
jl4DgazyehFoXzU18MGfTPJbyLYUaIbpiPzFjiHKsfJZNdgr9tPTGblWnBoadqNg
bpFjTP/JPkhKC0D7PXihSkNXYKnHdS9B5OfW2rFC1kiMpnngZ+v8/z/a0aUb4B0l
VgUzrwKq8V2B2PDuPW32MdEfWDQOUizsQPUriwXIeP5+llAl93ip/J96hpq5P3N3
KmcERsBz0C0Z3QUZHKzVfQkByvEOEd9n762yEOaDo5uXOIoGih7lQRB9qgCDXtBa
38cCs2RQwc6+Hy8u/4YCFC7Px0bG8KsXviuvuIZj2mkvm0iaqitPVwdnZwDSSZkS
Idegg8wmPYFKpv2xr37Zxic7k6S4AIIhpSA/KS63jq9iMQANM0JaZtSeCcFXhRqn
mAxVk3W4ly1HnO8y0sNCrItM3wR8R2j/Pcb0STFtqjKbDealHs6OjyNwdV/IeufJ
v/ITgNNeG9Q=
=k/kr
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/rhsa-announce