Vulnerability · Published Feb 16, 2023 · Assigned by GitHub_M
CVE-2023-23947Argo CD users with any cluster secret update access may update out-of-bounds cluster secrets
Critical 9.1
In plain English
A critical-severity incorrect authorization in argo-cd from argoproj. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/argoproj/argo-cd | 2.3.17 | GHSA-3jfq-742w-xg8j |
| Go | github.com/argoproj/argo-cd | 2.4.23 | GHSA-3jfq-742w-xg8j |
| Go | github.com/argoproj/argo-cd | 2.5.11 | GHSA-3jfq-742w-xg8j |
| Go | github.com/argoproj/argo-cd | 2.6.2 | GHSA-3jfq-742w-xg8j |
| Go | github.com/argoproj/argo-cd | no fix listed | GO-2023-1577 |
| Go | github.com/argoproj/argo-cd/v2 | 2.3.17, 2.4.23, 2.5.11, 2.6.2 | GO-2023-1577 |
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H