CVE-2021-36782 json
Rancher: Plaintext storage and exposure of credentials in Rancher API and cluster.management.cattle.io object
published 2022-09-07 4 y ago modified 2026-07-08 4 mo ago also GHSA-g7j7-h4q8-8w2f , EUVD-2022-6818
- cvss
- 9.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 90%
- public exploits
- 1
- Metasploit
Summary
A Cleartext Storage of Sensitive Information vulnerability in SUSE Rancher allows authenticated Cluster Owners, Cluster Members, Project Owners, Project Members and User Base to use the Kubernetes API to retrieve plaintext version of sensitive data. This issue affects: SUSE Rancher Rancher versions prior to 2.5.16; Rancher versions prior to 2.6.7.
Patch / fix
- go github.com/rancher/rancher 2.5.16, 2.6.7
- SUSE Rancher 2.5.16, 2.6.7
Timeline
- First public exploit (Metasploit auxiliary/gather/rancher_authenticated_api_cred_exposure)
- Published
Exploit prediction
4.17% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit auxiliary/gather/rancher_authenticated_api_cred_exposure Rancher Authenticated API Credential Exposure metasploit auxiliary, normal rank, 2022-08-18
- bugzilla.suse.com https://bugzilla.suse.com/show_bug.cgi?id=1193988 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/rancher/rancher/security/advisories/GHSA-g7j7-h4q8-8w2f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/rancher/rancher | >=2.5.0, <2.5.16 >=2.6.0, <2.6.7 |
2.5.16 2.6.7 |
Affected products
- SUSE Rancher
Classification
- Weakness
-
- CWE-312 Cleartext Storage of Sensitive Information
References
-
bugzilla.suse.com
/show_bug.cgi?id=1193988
web, exploit, issue-tracking, mitigation, vendor-advisory
-
github.com
/rancher/rancher/security/advisories/GHSA-g7j7-h4q8-8w2f
web, exploit, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-36782
advisory
-
github.com
/rancher/rancher
package
Sources
- CVE List CVE-2021-36782
- GitHub Advisory GHSA-g7j7-h4q8-8w2f
- NVD CVE-2021-36782
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.