{"id":"CVE-2021-25318","published":"2021-07-15T08:55:15Z","modified":"2024-09-16T20:37:30Z","title":"rancher: API group not properly specified when creating Kubernetes RBAC resources","vendor":"Rancher","product":"Rancher","tier":"tail","description":{"text":"A 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01051,"percentile":0.65092,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1184913","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":13.02},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"rancher","affectedVersions":[{"vendor":"Rancher","product":"Rancher","versions":[">= Rancher, < 2.5.9"]},{"vendor":"Rancher","product":"Rancher","versions":[">= Rancher, < 2.4.16"]}],"affected":[{"ecosystem":"Go","package":"github.com/rancher/rancher","vulnerableRanges":[">=2.0.0, <2.4.16",">=2.5.0, <2.5.9",">=2.0.0+incompatible"],"patched":["2.4.16","2.5.9"],"from":["GHSA-f9xf-jq4j-vqw4","GO-2024-2768"],"provenance":"source"}],"summary":{"text":"A flaw in Rancher's handling of RBAC resources, where the API group is not properly specified when Kubernetes RBAC resources are created, causes incorrect permission assignment for critical resources. An attacker with low-privilege access to a cluster, requiring no user interaction, can modify resources they should not have access to, with no additional configuration needed beyond the affected Rancher versions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:39Z"},"euvd":{"id":"EUVD-2024-1195","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-12303","published":"2019-06-06","fixed":"2.2.4+incompatible","kev":false},{"cve":"CVE-2019-13209","published":"2019-09-04","fixed":"2.2.5","kev":false},{"cve":"CVE-2021-25313","published":"2021-03-05","fixed":"2.5.6","kev":false,"link":{"from":"CVE-2021-25313","to":"CVE-2021-25318","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/rancher/rancher","fromFixed":"2.4.14","toFixed":"2.4.16","daysApart":132}]}},{"cve":"CVE-2021-25318","published":"2021-07-15","fixed":"2.5.9","kev":false},{"cve":"CVE-2021-25320","published":"2021-07-15","fixed":"2.5.9","kev":false},{"cve":"CVE-2021-31999","published":"2021-07-15","fixed":"2.5.9","kev":false},{"cve":"CVE-2021-36776","published":"2022-04-01","fixed":"2.5.10","kev":false}],"package":"Go:github.com/rancher/rancher"}}