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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.09% (39th percentile)

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

How 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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

8.8 high