Bug 2097472

Summary: Include at ODF 4.9 container images (11) the RHEL8 CVE fix on "xz"
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Rejy M Cyriac <rcyriac>
Component: distributionAssignee: Eran Tamir <etamir>
Status: CLOSED ERRATA QA Contact: Petr Balogh <pbalogh>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: aeyal, bniver, jopinto, madam, ocs-bugs, odf-bz-bot, sheggodu, sostapov, ykaul
Target Milestone: ---Keywords: ZStream
Target Release: ODF 4.9.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-27 15:26:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rejy M Cyriac 2022-06-15 18:30:55 UTC
RHEL 8 has shipped on 13 June 2022 "xz" security update RHSA with fix for "Important" CVE


= RHSA-2022:4991 - Security Advisory
  == https://access.redhat.com/errata/RHSA-2022:4991

= CVE-2022-1271
  == https://access.redhat.com/security/cve/CVE-2022-1271


= RPM Errata
  == https://errata.devel.redhat.com/advisory/96360

= Updated builds with fixes for CVE
  == xz-5.2.4-4.el8_6



Eleven ODF 4.9 Container images are impacted by the CVE, and needs re-spin to include the updated packages.

Being "Important" CVE, the number of days to ship the Container images with fixes is 30 days after fixes have been shipped at RHEL. So the mandatory due date to ship the ODF 4.9 Container images with updated packages is 13 July 2022, to prevent CHI scores (Health Score) from dropping to grade C.


= Impacted ODF 4.9 Container images (11)

  == OpenShift Data Foundation Console (odf4/odf-console-rhel8)
     === https://catalog.redhat.com/software/containers/odf4/odf-console-rhel8/612f5bad539c8cedbde1cd56

  == OpenShift Data Foundation MultiCluster Operator (odf4/odf-multicluster-rhel8-operator)
     === https://catalog.redhat.com/software/containers/odf4/odf-multicluster-rhel8-operator/612ffcbc539c8cedbde1d179

  == OpenShift Data Foundation Disaster Recovery Operator (odf4/odr-rhel8-operator)
     === https://catalog.redhat.com/software/containers/odf4/odr-rhel8-operator/612555acdece23122b7a7cae

  == Volume Replication Operator (odf4/volume-replication-rhel8-operator)
     === https://catalog.redhat.com/software/containers/odf4/volume-replication-rhel8-operator/61254940bd674341b5c5f470

  == Multi-Cloud Object Gateway Operator (odf4/mcg-rhel8-operator)
     === https://catalog.redhat.com/software/containers/odf4/mcg-rhel8-operator/61254b55bd674341b5c5f471

  == Multi-Cloud Object Gateway Core (odf4/mcg-core-rhel8)
     === https://catalog.redhat.com/software/containers/odf4/mcg-core-rhel8/61254a9cdece23122b7a7cad

  == OpenShift Data Foundation Must Gather (odf4/ocs-must-gather-rhel8)
     === https://catalog.redhat.com/software/containers/odf4/ocs-must-gather-rhel8/614cda2c69cb9f1af5ba6ad3

  == Ceph Container Storage Interface (odf4/cephcsi-rhel8)
     === https://catalog.redhat.com/software/containers/odf4/cephcsi-rhel8/61153a826e1e42ca4d6defe2

  == Rook Ceph Operator (odf4/rook-ceph-rhel8-operator)
     === https://catalog.redhat.com/software/containers/odf4/rook-ceph-rhel8-operator/612546e7dece23122b7a7cac

  == OpenShift Container Storage Operator (odf4/ocs-rhel8-operator)
     === https://catalog.redhat.com/software/containers/odf4/ocs-rhel8-operator/612f4c2e7b37b351c172d00b

  == OpenShift Data Foundation Operator (odf4/odf-rhel8-operator)
     === https://catalog.redhat.com/software/containers/odf4/odf-rhel8-operator/612535caeb34b73652493062

Comment 5 Joy John Pinto 2022-06-17 18:04:59 UTC
OCP 4.9.0-0.nightly-2022-06-14-225707 and ODF 4.9.9-5: Verified on containers installed by default in openshift-storage namespace

odf-console-67c8c77f5d-zf7kb
sh-4.4$ rpm -qa|grep xz
xz-5.2.4-4.el8_6.x86_64
xz-libs-5.2.4-4.el8_6.x86_64

noobaa-operator-5b6898bdb5-v9jxj
sh-4.4$ rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64

noobaa-core-0
sh-4.4$ rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64


rook-ceph-operator-54d58b8d4f-t89ln
sh-4.4$ rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64
xz-5.2.4-4.el8_6.x86_64


ocs-operator-6bc7b4cdd-2m78w
sh-4.4$ rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64

odf-operator-controller-manager-864dd8f7cf-vkqsv
sh-4.4$ rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64

Comment 7 Joy John Pinto 2022-06-21 03:08:24 UTC
Verified with default pods created on openshift-storage with OCP 4.9.0-0.nightly-2022-06-14-225707 and ODF 4.9.9-9

odf console
sh-4.4$ rpm -qa|grep xz
xz-5.2.4-4.el8_6.x86_64
xz-libs-5.2.4-4.el8_6.x86_64

noobaa operator
sh-4.4$ rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64

noobaa core
sh-4.4$ rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64

rook ceph operator
sh-4.4$ rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64
xz-5.2.4-4.el8_6.x86_64

ocs-operator
sh-4.4$ rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64

must gather helper
sh-4.4# rpm -qa|grep xz
xz-libs-5.2.4-4.el8_6.x86_64
xz-5.2.4-4.el8_6.x86_64

Comment 12 errata-xmlrpc 2022-06-27 15:26:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenShift Data Foundation 4.9.9 Bug Fix Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:5210