{"schemaVersion":4,"id":"CVE-2021-25318","aliases":["GHSA-f9xf-jq4j-vqw4","GO-2024-2768","CGA-27f3-hvcf-rc5q","CGA-35h8-gf9j-j329","CGA-62p5-qw52-52mf","CGA-72xj-hcw9-mwrx","CGA-7m6g-4vj2-hq67","CGA-7m7c-mj9r-29jh","CGA-ff4f-52vx-98q9","CGA-rpg9-p4g4-72x4"],"status":"published","duplicateOf":null,"title":"rancher: API group not properly specified when creating Kubernetes RBAC resources","description":"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.","dates":{"published":"2021-07-15T08:55:15.569Z","modified":"2024-09-16T20:37:30.651Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01051,"percentile":0.65391,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01051},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01051,"percentile":0.65391}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01051,"percentile":0.65391}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"chainguard","product":"harvester","name":"harvester","label":"harvester","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"harvester-fips","name":"harvester-fips","label":"harvester-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"harvester-fips-webhook","name":"harvester-fips-webhook","label":"harvester-fips-webhook","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester-fips-webhook","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"harvester-webhook","name":"harvester-webhook","label":"harvester-webhook","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester-webhook","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/rancher","product":"rancher","name":"github.com/rancher/rancher","label":"rancher","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/rancher/rancher","purlType":"golang","versions":[{"text":"≥ 2.0.0, < 2.4.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.0.0","startInclusive":true,"end":"2.4.16","endInclusive":false}},{"text":"≥ 2.5.0, < 2.5.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.5.0","startInclusive":true,"end":"2.5.9","endInclusive":false}},{"text":"≥ 2.0.0+incompatible","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"range","start":"2.0.0+incompatible","startInclusive":true,"end":null,"endInclusive":false}}],"versionsText":"≥ 2.0.0, < 2.4.16 | ≥ 2.5.0, < 2.5.9 | ≥ 2.0.0+incompatible (No fix recorded)","eol":null,"hubHref":null},{"vendor":"rancher","product":"rancher","name":"rancher","label":"rancher","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ Rancher, < 2.5.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"Rancher","startInclusive":true,"end":"2.5.9","endInclusive":false}},{"text":"≥ Rancher, < 2.4.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"Rancher","startInclusive":true,"end":"2.4.16","endInclusive":false}},{"text":"< 2.4.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.4.16","endInclusive":false}},{"text":"≥ 2.5.0, < 2.5.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.5.0","startInclusive":true,"end":"2.5.9","endInclusive":false}}],"versionsText":"≥ Rancher, < 2.5.9 | ≥ Rancher, < 2.4.16 | < 2.4.16 | ≥ 2.5.0, < 2.5.9","eol":null,"hubHref":"/vendor/rancher/rancher"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1184913","label":"bugzilla.suse.com/show_bug.cgi?id=1184913","hostname":"bugzilla.suse.com","tags":["X Refsource CONFIRM","WEB","REPORT","Issue Tracking","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25318","label":"nvd.nist.gov/vuln/detail/CVE-2021-25318","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rancher/rancher/issues/33590","label":"github.com/rancher/rancher/issues/33590","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://github.com/rancher/rancher","label":"github.com/rancher/rancher","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2768","label":"pkg.go.dev/vuln/GO-2024-2768","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-f9xf-jq4j-vqw4","label":"github.com/advisories/GHSA-f9xf-jq4j-vqw4","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-5VV3-J733-HH6J"]},"timeline":[{"kind":"published","date":"2021-07-15T08:55:15.569Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T20:37:30.651Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,88],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01051,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-09-16T20:37:30.651Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_go","date":"2024-09-16T20:37:30.651Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_go","date":"2024-09-16T20:37:30.651Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2024-09-16T20:37:30.651Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-16T20:37:30.651Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-16T20:37:30.651Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","version":"2.0"}],"epss":{"value":0.01051,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T11:16:59.273Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T11:16:59.802Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T11:16:59.995Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T11:01:01.512Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T11:16:57.726Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T11:16:56.764Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T11:28:53.352Z","stale":false,"partial":false}}