CVE-2021-36783 Rancher: Failure to properly sanitize credentials in cluster template answers
Authenticated users can read cleartext credentials and API tokens stored in cluster template answers via exposed API endpoints.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-36783?
CVE-2021-36783 is a critical vulnerability in SUSE Rancher, published on 7 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A Insufficiently Protected Credentials vulnerability in SUSE Rancher allows authenticated Cluster Owners, Cluster Members, Project Owners and Project Members to read credentials, passwords and API tokens that have been stored in cleartext and exposed via API endpoints. This issue affects: SUSE Rancher Rancher versions prior to 2.6.4; Rancher versions prior to 2.5.13.
Weakness: CWE-522
Which versions are affected by CVE-2021-36783?
4 open source packages ship an affected version, including github.com/rancher/rancher. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/rancher/rancher Go | From 2.5.0 | 2.5.13 |
github.com/rancher/rancher Go | From 2.5.0 | 2.5.13 |
github.com/rancher/rancher Go | From 2.6.0 | 2.6.4 |
github.com/rancher/rancher Go | From 2.6.0 | 2.6.4 |
Products include Suse Rancher.
How do I fix CVE-2021-36783?
Upgrade github.com/rancher/rancher to a fixed version for your release line: 2.5.13 or 2.6.4.
Is CVE-2021-36783 being exploited?
There is no known exploitation of CVE-2021-36783 in the wild and no public exploit code.
Other vulnerabilities in SUSE Rancher
- CVE-2023-22647 Rancher vulnerable to Privilege Escalation via manipulation of Secrets
- CVE-2023-22651 Rancher Webhook is misconfigured during upgrade process
- CVE-2022-43757 Rancher: Exposure of sensitive fields
- CVE-2021-36782 Rancher: Plaintext storage and exposure of credentials in Rancher API and cluster.management.cattle.io object
- CVE-2019-11202 Rancher Recreates Default User With Known Password Despite Deletion
Sources
Also known as GHSA-8w87-58w6-hfv8.