Improper Access Control Affecting github.com/rancher/rancher/pkg/agent/clean package, versions <2.4.18 >=2.5.0 <2.5.12 >=2.6.0 <2.6.3


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-GITHUBCOMRANCHERRANCHERPKGAGENTCLEAN-6673737
  • published 25 Apr 2024
  • disclosed 24 Apr 2024
  • credit Unknown

How to fix?

Upgrade github.com/rancher/rancher/pkg/agent/clean to version 2.4.18, 2.5.12, 2.6.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control due to an incomplete authorization logic check when removing a Project Role associated to a group from a project, as the bindings that grant access to cluster scoped resources for those subjects do not get deleted. This allows a user who is a member of an affected group with authenticated access to exploit this issue to access resources they should no longer have access to. The exposure level will depend on the original permission level granted to the affected project role.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

8.8 high