{"id":"CVE-2021-36782","published":"2022-09-07T08:20:16Z","modified":"2024-09-17T04:14:05Z","title":"Rancher: Plaintext storage and exposure of credentials in Rancher API and cluster.management.cattle.io object","vendor":"SUSE","product":"Rancher","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0412,"percentile":0.91557,"provenance":"source"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1193988","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rancher/rancher/security/advisories/GHSA-g7j7-h4q8-8w2f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":30.2,"factors":[{"name":"EPSS percentile","points":18.31},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.93}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-12-01","earliestUrl":"https://github.com/fe-ax/tf-cve-2021-36782","repos":[{"name":"fe-ax/tf-cve-2021-36782","url":"https://github.com/fe-ax/tf-cve-2021-36782","stars":0,"created":"2022-12-01"}]},"metasploit":[{"name":"Rancher Authenticated API Credential Exposure","module":"auxiliary/gather/rancher_authenticated_api_cred_exposure","type":"auxiliary","disclosureDate":"2022-08-18","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/rancher_authenticated_api_cred_exposure.rb"}],"first":{"date":"2022-08-18","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/rancher_authenticated_api_cred_exposure.rb"},"provenance":"source"},"vendorSlug":"suse","affectedVersions":[{"vendor":"SUSE","product":"Rancher","versions":[">= Rancher, < 2.5.16"]},{"vendor":"SUSE","product":"Rancher","versions":[">= Rancher, < 2.6.7"]}],"affected":[{"ecosystem":"Go","package":"github.com/rancher/rancher","vulnerableRanges":[">=2.5.0, <2.5.16",">=2.6.0, <2.6.7"],"patched":["2.5.16","2.6.7"],"from":["GHSA-g7j7-h4q8-8w2f"],"provenance":"source"}],"summary":{"text":"The flaw is cleartext storage of sensitive information in SUSE Rancher, where credentials are stored and exposed in plaintext through the Rancher API and the cluster.management.cattle.io object. An attacker who is already authenticated as a Cluster Owner, Cluster Member, Project Owner, Project Member or User Base can use the Kubernetes API over the network to retrieve these plaintext values, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:33:10Z"},"euvd":{"id":"EUVD-2022-6818","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-36784","published":"2022-05-02","fixed":"2.6.4","kev":false},{"cve":"CVE-2021-4200","published":"2022-05-02","fixed":"2.6.4","kev":false},{"cve":"CVE-2022-21951","published":"2022-05-25","fixed":"2.6.5","kev":false,"link":{"from":"CVE-2022-21951","to":"CVE-2021-36782","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/rancher/rancher","fromFixed":"2.5.14","toFixed":"2.5.16","daysApart":105}]}},{"cve":"CVE-2021-36782","published":"2022-09-07","fixed":"2.6.7","kev":false},{"cve":"CVE-2022-31247","published":"2022-09-07","fixed":"2.6.7","kev":false},{"cve":"CVE-2022-43759","published":"2023-02-07","fixed":"2.6.10","kev":false},{"cve":"CVE-2022-21953","published":"2023-02-07","fixed":"2.7.1","kev":false}],"package":"Go:github.com/rancher/rancher"}}