Insufficiently Protected Credentials Affecting github.com/rancher/rancher/pkg/controllers/managementuser package, versions >=2.7.0 <2.8.9-alpha10 >=2.9.0 <2.9.3-alpha5


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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-GITHUBCOMRANCHERRANCHERPKGCONTROLLERSMANAGEMENTUSER-8309131
  • published 28 Oct 2024
  • disclosed 25 Oct 2024
  • credit Unknown

How to fix?

Upgrade github.com/rancher/rancher/pkg/controllers/managementuser to version 2.8.9-alpha10, 2.9.3-alpha5 or higher.

Overview

github.com/rancher/rancher/pkg/controllers/managementuser 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

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.4 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    High
  • Integrity (SI)
    Low
  • Availability (SA)
    Low