CVE-2023-23947
Description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All Argo CD versions starting with 2.3.0-rc1 and prior to 2.3.17, 2.4.23 2.5.11, and 2.6.2 are vulnerable to an improper authorization bug which 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). A patch for this vulnerability has been released in Argo CD versions 2.6.2, 2.5.11, 2.4.23, and 2.3.17. Two workarounds are available. Either modify the RBAC configuration to completely revoke all `clusters, update` access, or use the `destinations` and `clusterResourceWhitelist` fields to apply similar restrictions as the `namespaces` and `clusterResources` fields.
How to fix
- argoproj argo_cd2.3.17, 2.4.23, 2.5.11, 2.6.2 or later
- github.com/argoproj/argo-cd2.3.17, 2.4.23, 2.5.11, 2.6.2 or later
- github.com/argoproj/argo-cd/v22.3.17, 2.4.23, 2.5.11, 2.6.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| argoproj argo_cd | 2.3.0 ≤ v < 2.3.17, 2.4.0 ≤ v < 2.4.23, 2.5.0 ≤ v < 2.5.11, 2.6.0 ≤ v < 2.6.2 | 2.3.17, 2.4.23, 2.5.11, 2.6.2 |
| github.com/argoproj/argo-cdGo | 2.3.0 ≤ v < 2.3.17, 2.4.0 ≤ v < 2.4.23, 2.5.0 ≤ v < 2.5.11, 2.6.0 ≤ v < 2.6.2, No range specified | 2.3.17, 2.4.23, 2.5.11, 2.6.2 |
| github.com/argoproj/argo-cd/v2Go | 2.3.0 ≤ v < 2.3.17, 2.4.0 ≤ v < 2.4.23, 2.5.0 ≤ v < 2.5.11, 2.6.0 ≤ v < 2.6.2 | 2.3.17, 2.4.23, 2.5.11, 2.6.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.