CVE-2023-22736
"Argo CD Authorization Bypass in Kubernetes Continuous Delivery"
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.
INFO
Published Date :
Jan. 26, 2023, 9:18 p.m.
Last Modified :
Aug. 7, 2024, 3:43 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-22736
.
URL | Resource |
---|---|
https://github.com/argoproj/argo-cd/security/advisories/GHSA-6p4m-hw2h-6gmw | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-22736
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-22736
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 2.5.0 from (excluding) 2.5.8 OR *cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* versions from (including) 2.5.0 from (excluding) 2.5.8 -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc3:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.6.0:rc3:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc1:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.6.0:rc1:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc4:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.6.0:rc4:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc2:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.6.0:rc2:*:*:*:*:*:* -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 07, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H Changed Reference Type https://github.com/argoproj/argo-cd/security/advisories/GHSA-6p4m-hw2h-6gmw No Types Assigned https://github.com/argoproj/argo-cd/security/advisories/GHSA-6p4m-hw2h-6gmw Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 2.5.0 up to (excluding) 2.5.8 *cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc1:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc2:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc3:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:argo-cd:2.6.0:rc4:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-22736
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-22736
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.10 }} 0.01%
score
0.43218
percentile