Insufficiently Protected Credentials Affecting github.com/rancher/rancher/pkg/controllers/management/clusterdeploy package, versions >=2.7.0 <2.8.9-alpha10 >=2.9.0 <2.9.3-alpha5
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMRANCHERRANCHERPKGCONTROLLERSMANAGEMENTCLUSTERDEPLOY-8309130
- published 28 Oct 2024
- disclosed 25 Oct 2024
- credit Unknown
Introduced: 25 Oct 2024
New CVE-2022-45157 Open this link in a new tabHow to fix?
Upgrade github.com/rancher/rancher/pkg/controllers/management/clusterdeploy
to version 2.8.9-alpha10, 2.9.3-alpha5 or higher.
Overview
github.com/rancher/rancher/pkg/controllers/management/clusterdeploy is a project that provides a container management platform built for organizations that deploy containers in production
Affected versions of this package are vulnerable to Insufficiently Protected Credentials in internal configuration objects, which are written to disk during vSphere cluster provisioning. An attacker with cluster member level or privileged infrastructure access can expose the CSI and CPI credentials in spec.rkeConfig.chartValues.rancher-vsphere-cpi
and spec.rkeConfig.chartValues.rancher-vsphere-csi
, under the provisioning.cattle.io
object, or the spec.chartValues.rancher-vsphere-cpi
and spec.chartValues.rancher-vsphere-csi
credentials under the rke.cattle.io.rkecontrolplane
object, or either set of secrets in a plan
file on a downstream cluster.
Note: After upgrading to a fixed version, existing clusters must be scrubbed of stored secrets. A script has been provided to remove them: https://github.com/rancherlabs/support-tools/blob/master/migrate-vsphere-clusters/migrate-vsphere-clusters.sh