CVE-2021-36783 Rancher: Failure to properly sanitize credentials in cluster template answers

Critical 9.9 Published Updated

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.

PackageAffectedFixed in
github.com/rancher/rancher GoFrom 2.5.02.5.13
github.com/rancher/rancher GoFrom 2.5.02.5.13
github.com/rancher/rancher GoFrom 2.6.02.6.4
github.com/rancher/rancher GoFrom 2.6.02.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.

Sources

Also known as GHSA-8w87-58w6-hfv8.

Is CVE-2021-36783 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free