CVE-2023-22736

CVSS V2 None CVSS V3 None
Description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Versions starting with 2.5.0-rc1 and above, prior to 2.5.8, and version 2.6.0-rc4, are vulnerable to an authorization bypass bug which allows a malicious Argo CD user to deploy Applications outside the configured allowed namespaces. Reconciled Application namespaces are specified as a comma-delimited list of glob patterns. When sharding is enabled on the Application controller, it does not enforce that list of patterns when reconciling Applications. For example, if Application namespaces are configured to be argocd-*, the Application controller may reconcile an Application installed in a namespace called other, even though it does not start with argocd-. Reconciliation of the out-of-bounds Application is only triggered when the Application is updated, so the attacker must be able to cause an update operation on the Application resource. This bug only applies to users who have explicitly enabled the "apps-in-any-namespace" feature by setting `application.namespaces` in the argocd-cmd-params-cm ConfigMap or otherwise setting the `--application-namespaces` flags on the Application controller and API server components. The apps-in-any-namespace feature is in beta as of this Security Advisory's publish date. The bug is also limited to Argo CD instances where sharding is enabled by increasing the `replicas` count for the Application controller. Finally, the AppProjects' `sourceNamespaces` field acts as a secondary check against this exploit. To cause reconciliation of an Application in an out-of-bounds namespace, an AppProject must be available which permits Applications in the out-of-bounds namespace. A patch for this vulnerability has been released in versions 2.5.8 and 2.6.0-rc5. As a workaround, running only one replica of the Application controller will prevent exploitation of this bug. Making sure all AppProjects' sourceNamespaces are restricted within the confines of the configured Application namespaces will also prevent exploitation of this bug.
Overview
  • CVE ID
  • CVE-2023-22736
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2023-01-26T21:18:13
  • Last Modified Date
  • 2023-02-07T01:15:14
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* 1 OR 2.5.0 2.5.8
cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc1:*:*:*:*:*:* 1 OR
cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc2:*:*:*:*:*:* 1 OR
cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc3:*:*:*:*:*:* 1 OR
cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc4:*:*:*:*:*:* 1 OR
History
Created Old Value New Value Data Type Notes
2023-01-26 23:18:00 Added to TrackCVE
2023-01-26 23:18:01 Weakness Enumeration new
2023-01-27 15:15:03 2023-01-27T14:03:31 CVE Modified Date updated
2023-01-27 15:15:03 Received Awaiting Analysis Vulnerability Status updated
2023-02-06 12:13:58 Awaiting Analysis Undergoing Analysis Vulnerability Status updated
2023-02-07 02:13:03 2023-02-07T01:15:14 CVE Modified Date updated
2023-02-07 02:13:03 Undergoing Analysis Analyzed Vulnerability Status updated
2023-02-07 02:13:04 CPE Information updated