Incorrect Permission Assignment for Critical Resource Affecting github.com/rancher/rancher/pkg/httpproxy package, versions >=2.0.0 <2.4.16 >=2.5.0 <2.5.9
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMRANCHERRANCHERPKGHTTPPROXY-6673743
- published 25 Apr 2024
- disclosed 24 Apr 2024
- credit Unknown
Introduced: 24 Apr 2024
CVE-2021-25318 Open this link in a new tabHow to fix?
Upgrade github.com/rancher/rancher/pkg/httpproxy
to version 2.4.16, 2.5.9 or higher.
Overview
Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource due to the improper specification of ApiGroup when creating Kubernetes RBAC resources. An attacker can gain unauthorized access to resources regardless of the resource's API group by exploiting this misconfiguration. This vulnerability affects both downstream clusters and the Rancher management cluster, including a wide range of resources such as apiservices, clusters, clusterrepos, persistentvolumes, storageclasses, apprevisions, apps, catalogtemplates, catalogtemplateversions, and many others.