rancher: API group not properly specified when creating Kubernetes RBAC resources
cve-program · CVE-2021-25318
PublishedA Incorrect Permission Assignment for Critical Resource vulnerability in Rancher allows users in the cluster to modify resources they should not have access to. This issue affects: Rancher versions prior to 2.5.9 ; Rancher versions prior to 2.4.16.
Read the publisher's advisoryeuvd · EUVD-2024-1195
PublishedA Incorrect Permission Assignment for Critical Resource vulnerability in Rancher allows users in the cluster to modify resources they should not have access to. This issue affects: Rancher versions prior to 2.5.9 ; Rancher versions prior to 2.4.16.
Read the publisher's advisorynvd · CVE-2021-25318
PublishedA Incorrect Permission Assignment for Critical Resource vulnerability in Rancher allows users in the cluster to modify resources they should not have access to. This issue affects: Rancher versions prior to 2.5.9 ; Rancher versions prior to 2.4.16.
Read the publisher's advisoryosv · GHSA-f9xf-jq4j-vqw4
PublishedA vulnerability was discovered in Rancher versions 2.0 through the aforementioned fixed versions, where users were granted access to resources regardless of the resource's API group. For example Rancher should have allowed users access to `apps.catalog.cattle.io`, but instead incorrectly gave access to `apps.*`. Resource affected include: **Downstream clusters:** apiservices clusters clusterrepos persistentvolumes storageclasses **Rancher management cluster** apprevisions apps catalogtemplates catalogtemplateversions clusteralertgroups clusteralertrules clustercatalogs clusterloggings clustermonitorgraphs clusterregistrationtokens clusterroletemplatebindings clusterscans etcdbackups nodepools nodes notifiers pipelineexecutions pipelines pipelinesettings podsecuritypolicytemplateprojectbindings projectalertgroups projectalertrules projectcatalogs projectloggings projectmonitorgraphs projectroletemplatebindings projects secrets sourcecodeproviderconfigs There is not a direct mitigation besides upgrading to the patched Rancher versions.
Read the publisher's advisoryosv · GO-2024-2768
PublishedRancher does not properly specify ApiGroup when creating Kubernetes RBAC resources 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2021-25318 · CVE overview and exploitation status
cve-program · CVE-2021-25318
euvd · EUVD-2024-1195
nvd · CVE-2021-25318
osv · GHSA-f9xf-jq4j-vqw4
- https://nvd.nist.gov/vuln/detail/CVE-2021-25318
- https://github.com/rancher/rancher/issues/33590
- https://bugzilla.suse.com/show_bug.cgi?id=1184913
- https://github.com/rancher/rancher
- https://pkg.go.dev/vuln/GO-2024-2768
osv · GO-2024-2768
Related changes
Linked by CVE identifierNo related changes are available here.