GHSA-gqf8-rvrh-g7w6
Rancher cloud credentials can be used through proxy API by users without access
Quick fix
GHSA-gqf8-rvrh-g7w6 — github.com/rancher/rancher: upgrade to the fixed version with the command below.
go get github.com/rancher/rancher@v2.4.16Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.2.0Fixed in: 2.4.16go get github.com/rancher/rancher@v2.4.162.5.0Fixed in: 2.5.9go get github.com/rancher/rancher@v2.5.9References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/rancher/rancher"]}'