Exposes a secret via env variable in pod definition on Azure
CVE: CVE-2024-4369
Component: cluster-image-registry-operator
CWE: CWE-526
Severity: Moderate
CVSS v3: 5.6/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Release date: 2024-04-30T00:00:00+00:00

An information disclosure flaw was found in OpenShift's internal image registry operator. The AZURE_CLIENT_SECRET can be exposed through an environment variable defined in the pod definition, but is limited to Azure environments. An attacker controlling an account that has high enough permissions to obtain pod information from the openshift-image-registry namespace could use this obtained client secret to perform actions as the registry operator's Azure service account.


Remediation:
For OpenShift Container Platform 4.14 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update:

      https://docs.openshift.com/container-platform/4.14/release_notes/ocp-4-14-release-notes.html

You may download the oc tool and use it to inspect release image metadata for x86_64, s390x, ppc64le, and aarch64 architectures. The image digests may be found at https://quay.io/repository/openshift-release-dev/ocp-release?tab=tags.

      The sha values for the release are

      (For x86_64 architecture)
      The image digest is sha256:2bda857a6a92b9a6cd353e707029218a78ba1b4a60a762d849a2bc0eb4234e25

      (For s390x architecture)
      The image digest is sha256:cf03d07943c0190592e1679c169f8b011b0924deb337b72ce901b2c51e659dfa

      (For ppc64le architecture)
      The image digest is sha256:b2dd250c2c3d19d62ab32f6982a7c5671eb502dda32c5990ece30fa30c5530d8

      (For aarch64 architecture)
      The image digest is sha256:04bae4ad606b8b3b372e51c7285e5303dd46035bb1676f58c97db9e5df3b81e6

All OpenShift Container Platform 4.14 users are advised to upgrade to these updated packages and images when they are available in the appropriate release channel. To check for available updates, use the OpenShift CLI (oc) or web console. Instructions for upgrading a cluster are available at https://docs.openshift.com/container-platform/4.14/updating/updating_a_cluster/updating-cluster-cli.html
For OpenShift Container Platform 4.15 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update:

      https://docs.openshift.com/container-platform/4.15/release_notes/ocp-4-15-release-notes.html

You may download the oc tool and use it to inspect release image metadata for x86_64, s390x, ppc64le, and aarch64 architectures. The image digests may be found at https://quay.io/repository/openshift-release-dev/ocp-release?tab=tags.

      The sha values for the release are

      (For x86_64 architecture)
      The image digest is sha256:0f55261077557d1bb909c06b115e0c79b0025677be57ba2f045495c11e2443ee

      (For s390x architecture)
      The image digest is sha256:51333a191236aa122045b0016a35a3501605e544f561015568cd58b4a1b93260

      (For ppc64le architecture)
      The image digest is sha256:db6e7bae8b5ee4d9b39ab13932b55ea861d5e2c5d17a17ad730deb4224ab3296

      (For aarch64 architecture)
      The image digest is sha256:bea5c0d194d622934cc7dee330b66cf49f5be3f4ae98e07c1cb6c8fd102ee42f

All OpenShift Container Platform 4.15 users are advised to upgrade to these updated packages and images when they are available in the appropriate release channel. To check for available updates, use the OpenShift CLI (oc) or web console. Instructions for upgrading a cluster are available at https://docs.openshift.com/container-platform/4.15/updating/updating_a_cluster/updating-cluster-cli.html