CVE-2023-23947: Argo CD users with any cluster secret update access may update out-of-bounds cluster secrets
A flaw was found in ArgoCD. An improper authorization bug may allow an attacker to update at least one cluster secret, enabling them to change any other cluster secret. The attacker must know the URL for the targeted cluster and additionally it should be authenticated within the ArgoCD API server with enough privileges to update at least one cluster. A successful attack may lead to privilege escalations or denial of service.
Other sources
All Argo CD versions starting with v2.3.0-rc1 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).
— Red Hat
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.
— NVD
Affected Software
Remediation
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2023-23947.
What is the severity of CVE-2023-23947?
The severity of CVE-2023-23947 is critical with a score of 9.1.
What is Argo CD?
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.
Which versions of Argo CD are affected by CVE-2023-23947?
Argo CD versions 2.3.0-rc1 to 2.3.17, 2.4.0 to 2.4.23, 2.5.0 to 2.5.11, and 2.6.0 to 2.6.2 are affected by CVE-2023-23947.
How can an attacker exploit CVE-2023-23947?
An attacker with the ability to update at least one cluster secret can exploit CVE-2023-23947.
Are there any references for CVE-2023-23947?
Yes, here are some references for CVE-2023-23947: [Red Hat - RHSA-2023:0802](https://access.redhat.com/errata/RHSA-2023:0802), [Red Hat - RHSA-2023:0803](https://access.redhat.com/errata/RHSA-2023:0803), [Red Hat - RHSA-2023:0804](https://access.redhat.com/errata/RHSA-2023:0804).