Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2021-36783

Rancher doesn't properly sanitize credentials in cluster template answers
Back to all
CVE

CVE-2021-36783

Rancher doesn't properly sanitize credentials in cluster template answers

Impact

It was discovered that in Rancher versions up to and including 2.5.12 and 2.6.3 there is a failure to properly sanitize credentials in cluster template answers. This failure can lead to plaintext storage and exposure of credentials, passwords and API tokens.

The exposed credentials are visible in Rancher to authenticated Cluster OwnersCluster MembersProject Owners and Project Members on the endpoints /v1/management.cattle.io.clusters/v3/clusters and /k8s/clusters/local/apis/management.cattle.io/v3/clusters.

Sensitive fields are now stripped from Clusters objects before the object is stored. For objects that existed before this security fix, a one-time migration happens on startup.

Important:

  • It is highly advised to review for potential leaked credentials in this scenario, and to change them if deemed necessary.
  • The final impact severity for confidentiality, integrity and availability is dependent on the permissions that the leaked credentials have on their own services.

Patches

Patched versions include releases 2.5.13, 2.6.4 and later versions.

Workarounds

Limit access in Rancher to trusted users. There is not a direct mitigation besides upgrading to the patched Rancher versions.

Important: It is highly advised to review for potential leaked credentials in this scenario, and to change them if deemed necessary.

For more information

If you have any questions or comments about this advisory:

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/rancher/rancher/security/advisories/GHSA-8w87-58w6-hfv8, https://nvd.nist.gov/vuln/detail/CVE-2021-36783, https://bugzilla.suse.com/show_bug.cgi?id=1193990, https://github.com/rancher/rancher

Severity

9.9

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
9.9
EPSS Probability
0.00477%
EPSS Percentile
0.64519%
Introduced Version
2.5.0,2.6.0
Fix Available
2.5.13,2.6.4

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading