Miggo Logo

CVE-2021-36782:
Rancher API and cluster.management.cattle.io object vulnerable to plaintext storage and exposure of credentials

10

CVSS Score

Basic Information

EPSS Score
-
Published
9/23/2022
Updated
1/31/2023
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/rancher/ranchergo>= 2.5.0, < 2.5.162.5.16
github.com/rancher/ranchergo>= 2.6.0, < 2.6.72.6.7

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability description indicates sensitive data was stored in plaintext within Kubernetes objects (e.g., Clusters, Notifiers) through Rancher's API endpoints. While the fields and API paths are explicitly listed, the provided information lacks specific code references, commit diffs, or function names from the Rancher codebase. The root cause appears to be structural data handling in object serialization/storage logic rather than isolated functions. Without access to the actual pre-patch code showing how these fields were processed (e.g., functions responsible for persisting Cluster.Spec or Notifier.SMTPConfig without encryption), we cannot confidently identify specific vulnerable functions. The patched version's migration to Secrets suggests changes in object persistence logic, but insufficient code-level details prevent precise function identification.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t *n issu* w*s *is*ov*r** in R*n***r v*rsions up to *n* in*lu*in* *.*.** *n* *.*.* w**r* s*nsitiv* *i*l*s, lik* p*sswor*s, *PI k*ys *n* R*n***r's s*rvi** ***ount tok*n (us** to provision *lust*rs), w*r* stor** in pl*int*xt *ir**tly on Ku**rn

Reasoning

T** vuln*r**ility **s*ription in*i**t*s s*nsitiv* **t* w*s stor** in pl*int*xt wit*in Ku**rn*t*s o*j**ts (*.*., *lust*rs, Noti*i*rs) t*rou** R*n***r's *PI *n*points. W*il* t** *i*l*s *n* *PI p*t*s *r* *xpli*itly list**, t** provi*** in*orm*tion l**ks