CVE-2022-45157
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/rancher/rancher | Go Modules | 2.9.3, 2.8.9 |
| harvester | Chainguard | 1.8.1-r1 |
| harvester-fips | Chainguard | 1.8.1-r0 |
| github.com/rancher/rancher | SUSE | 2.9.3, 2.8.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SUSE | rancher | 2.9.0, 2.7.0 |
| chainguard | harvester | 0 |
| github.com | rancher/rancher | 2.9.0, 2.7.0 |
| SUSE | rancher | 2.9.0, 2.7.0 |
| chainguard | harvester-fips | 0 |
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