Advisory Published
Updated

REDHAT-BUG-2262158

First published: Wed Jan 31 2024(Updated: )

The below issue was reported to ProdSec by Simon Pasquier: In OCP, the telemeter-client pod running in the openshift-monitoring has an annotation containing the cluster's pull secret for the cloud.openshift.com and quay.io registries. The cause of the bug is that we use the token string concatenated with the hash [2] instead of writing the token string to the hash object and calling Sum() with a nil slice. The impact is that any user which can read the definition of the telemeter-client pod and/or deployment gets access to the pull secret token. Users with permissions from the cluster-reader clusterrole already have access to the original pull secret because they can read the "pull-secret" Secret in the openshift-config namespace. The issue has been present since OCP 4.12 [3] [4]. [1] <a href="https://issues.redhat.com/browse/OCPBUGS-28650">https://issues.redhat.com/browse/OCPBUGS-28650</a> [2] <a href="https://github.com/openshift/cluster-monitoring-operator/blob/d45a3335c2bbada0948adef9fcba55c4e14fa1d7/pkg/manifests/manifests.go#L3135">https://github.com/openshift/cluster-monitoring-operator/blob/d45a3335c2bbada0948adef9fcba55c4e14fa1d7/pkg/manifests/manifests.go#L3135</a> [3] <a class="bz_bug_link bz_status_CLOSED bz_closed bz_public " title="CLOSED ERRATA - telemeter-client pod does not use the updated pull secret when it is changed" href="show_bug.cgi?id=2114721">https://bugzilla.redhat.com/show_bug.cgi?id=2114721</a> [4] <a href="https://github.com/openshift/cluster-monitoring-operator/pull/1747">https://github.com/openshift/cluster-monitoring-operator/pull/1747</a>

Affected SoftwareAffected VersionHow to fix
Red Hat OpenShift Container Platform for IBM LinuxONE>=4.12

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-2262158?

    The severity of REDHAT-BUG-2262158 is currently classified as a medium risk due to the exposure of sensitive data.

  • How do I fix REDHAT-BUG-2262158?

    To fix REDHAT-BUG-2262158, users should ensure that the telemeter-client pod does not expose the cluster's pull secret as an annotation.

  • What versions of OpenShift are affected by REDHAT-BUG-2262158?

    The vulnerability REDHAT-BUG-2262158 affects Red Hat OpenShift Container Platform version 4.12 and later.

  • Is there a workaround for REDHAT-BUG-2262158?

    As a workaround for REDHAT-BUG-2262158, administrators can manually remove the sensitive annotations from the telemeter-client pod.

  • Who reported the REDHAT-BUG-2262158 vulnerability?

    The vulnerability REDHAT-BUG-2262158 was reported to ProdSec by Simon Pasquier.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203