CVE-2022-45157 json
Exposure of vSphere's CPI and CSI credentials in Rancher
published 2024-10-25 2 y ago modified 2026-09-10 1 mo ago also GHSA-xj7w-r753-vj8v , GO-2024-3223 , EUVD-2024-3170
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/rancher/rancher 2.8.9, 2.9.3
- SUSE rancher 2.8.9, 2.9.3
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 0.0.20241030T212825-150000.1.9.1
suse advisories SUSE-SU-2024:3911-1
- govulncheck-vulndb Package Hub 12 0.0.20241104T154416-5.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241030T212825-1.1
opensuse advisories openSUSE-SU-2024:0350-1openSUSE-SU-2024:14447-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L |
| CNA | 4.0 | 8.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L |
| CNA | 4.0 | 8.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/rancher/rancher | >=2.9.0, <2.9.3 >=2.7.0, <2.8.9 all versions |
2.9.3 2.8.9 |
Affected products
- SUSE rancher
Classification
- Weakness
-
- CWE-522 Insufficiently Protected Credentials
References
Sources
- CVE List CVE-2022-45157
- GitHub Advisory GHSA-xj7w-r753-vj8v
- NVD CVE-2022-45157
- OSV GO-2024-3223
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.