CVE-2021-25320
published 2021-07-15CVE-2021-25320: A Improper Access Control vulnerability in Rancher, allows users in the cluster to make request to cloud providers by creating requests with the…
PriorityP356critical9.9CVSS 3.1
AVNACLPRLUINSCCHIHAH
EPSS
0.83%
53.0th percentile
A Improper Access Control vulnerability in Rancher, allows users in the cluster to make request to cloud providers by creating requests with the cloud-credential ID. Rancher in this case would attach the requested credentials without further checks This issue affects: Rancher versions prior to 2.5.9; Rancher versions prior to 2.4.16.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | rancher_rancher | >= 2.2.0 < 2.4.16 | 2.4.16 |
| github.com | rancher_rancher | >= 2.2.0+incompatible | — |
| github.com | rancher_rancher | >= 2.5.0 < 2.5.9 | 2.5.9 |
| rancher | rancher | < 2.4.16 | 2.4.16 |
| rancher | rancher | >= 2.5.0 < 2.5.9 | 2.5.9 |
| rancher | rancher | >= Rancher < 2.5.9 | 2.5.9 |
| rancher | rancher | >= Rancher < 2.4.16 | 2.4.16 |
CVSS provenance
nvdv3.19.9CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:P/I:N/A:N
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Rancher cloud credentials can be used through proxy API by users without access in github.com/rancher/rancher
osv·2026-03-10
CVE-2021-25320 Rancher cloud credentials can be used through proxy API by users without access in github.com/rancher/rancher
Rancher cloud credentials can be used through proxy API by users without access in github.com/rancher/rancher
Rancher cloud credentials can be used through proxy API by users without access in github.com/rancher/rancher.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/rancher/rancher before v2.4.16, from v2.5.0 before v2.5.9.
GHSA
Rancher cloud credentials can be used through proxy API by users without access
ghsa·2026-03-03
CVE-2021-25320 [CRITICAL] CWE-284 Rancher cloud credentials can be used through proxy API by users without access
Rancher cloud credentials can be used through proxy API by users without access
A vulnerability was discovered in Rancher 2.2.0 through the aforementioned patched versions, where cloud credentials weren't being properly validated through the Rancher API. Specifically through a proxy designed to communicate with cloud providers. Any Rancher user that was logged-in and aware of a cloud-credential ID that was valid for a given cloud provider, could call that cloud provider's API through the proxy API, and the cloud-credential would be attached. The exploit is limited to valid Rancher users. There is not a direct mitigation outside of upgrading to the patched Rancher versions.
OSV
Rancher cloud credentials can be used through proxy API by users without access
osv·2026-03-03
CVE-2021-25320 [CRITICAL] Rancher cloud credentials can be used through proxy API by users without access
Rancher cloud credentials can be used through proxy API by users without access
A vulnerability was discovered in Rancher 2.2.0 through the aforementioned patched versions, where cloud credentials weren't being properly validated through the Rancher API. Specifically through a proxy designed to communicate with cloud providers. Any Rancher user that was logged-in and aware of a cloud-credential ID that was valid for a given cloud provider, could call that cloud provider's API through the proxy API, and the cloud-credential would be attached. The exploit is limited to valid Rancher users. There is not a direct mitigation outside of upgrading to the patched Rancher versions.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-07-15
Published