Improper Authorization Affecting github.com/argoproj/argo-cd/v2/server package, versions >=2.3.0-rc1 <2.3.17 >=2.4.22 <2.4.23 >=2.5.10 <2.5.11 >=2.6.1 <2.6.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.1% (44th 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-GITHUBCOMARGOPROJARGOCDV2SERVER-3323843
  • published 17 Feb 2023
  • disclosed 16 Feb 2023
  • credit Michael Crenshaw

How to fix?

Upgrade github.com/argoproj/argo-cd/v2/server to version 2.3.17, 2.4.23, 2.5.11, 2.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization by allowing allows users who have the ability to update at least one cluster secret to update any cluster secret. The attacker could use this access to escalate privileges (potentially controlling Kubernetes resources) or to break Argo CD functionality (by preventing connections to external clusters).

Note: To take advantage of the vulnerability, an attacker must know the server URL for the cluster secret they want to modify.

Workaround

Users who are unable to upgrade to the fixed version should:

  1. Limit Users with Cluster Update Access

  2. Restrict Resource Management via AppProjects and RBAC

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

8.5 high