VDB

CVE-2022-45157

CVE-2022-45157 PUBLISHED CVSS 9.1 CRITICAL

Exposure of vSphere's CPI and CSI credentials in Rancher

Reported by suse · Published November 13, 2024

github.com/rancher/rancher is fixed in 2.9.3 and 2.8.9 (Go Modules)

A vulnerability has been identified in the way that Rancher stores vSphere's CPI (Cloud Provider Interface) and CSI (Container Storage Interface) credentials used to deploy clusters through the vSphere cloud provider. This issue leads to the vSphere CPI and CSI passwords being stored in a plaintext object inside Rancher. This vulnerability is only applicable to users that deploy clusters in vSphere environments.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/rancher/rancherGo Modules2.9.3, 2.8.9
harvesterChainguard1.8.1-r1
harvester-fipsChainguard1.8.1-r0
github.com/rancher/rancherSUSE2.9.3, 2.8.9

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Affected products

VendorProductVersions
SUSErancher2.9.0, 2.7.0
chainguardharvester0
github.comrancher/rancher2.9.0, 2.7.0
SUSErancher2.9.0, 2.7.0
chainguardharvester-fips0

Timeline

  • Oct 24, 2024 CVE Published
  • Nov 13, 2024 PoC Published (4 in total, the first dated here)
  • Nov 14, 2024 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (3 in total, the first dated here)
  • Apr 15, 2026 CVE Updated
  • Jun 13, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-45157
vulnetix vdb fixes CVE-2022-45157

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-45157/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›