Information Exposure Affecting github.com/rancher/rancher/pkg/controllers/management/secretmigrator package, versions >=2.7.0 <2.7.1>=2.6.0 <2.6.10>=2.5.0 <2.5.17


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd percentile)

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 IDSNYK-GOLANG-GITHUBCOMRANCHERRANCHERPKGCONTROLLERSMANAGEMENTSECRETMIGRATOR-3248482
  • published26 Jan 2023
  • disclosed25 Jan 2023
  • creditUnknown

Introduced: 25 Jan 2023

CVE-2022-43757  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade github.com/rancher/rancher/pkg/controllers/management/secretmigrator to version 2.7.1, 2.6.10, 2.5.17 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure in Rancher API and cluster.management.cattle.io objects.

It was discovered that the security advisory CVE-2021-36782, previously released by Rancher, missed addressing some sensitive fields, secret tokens, encryption keys, and SSH keys that were still being stored in plaintext directly on Kubernetes objects like Clusters. The exposed credentials are visible in Rancher to authenticated Cluster Owners, Cluster Members, Project Owners and Project Members of that cluster on the endpoints:

  • /v1/management.cattle.io.cluster
  • /v1/management.cattle.io.clustertemplaterevisions

References

CVSS Base Scores

version 3.1