CVE-2023-22736
Last modified
CVE-2023-22736 is a high-severity vulnerability rated 8.5/10 on the CVSS scale. 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. EPSS estimates a 0.78% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Argoproj | Argo Cd | >= 2.5.0, < 2.5.8 | — |
| Argoproj | Argo Cd | 2.6.0 | Rc1 |
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-6p4m-hw2h-6gmwThird Party Advisory
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-6p4m-hw2h-6gmwThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-22736?
How severe is CVE-2023-22736?
How do I fix CVE-2023-22736?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-22730Shopware is an open source commerce platform based on Symfon…7.5
- CVE-2023-22731Shopware is an open source commerce platform based on Symfon…8.8
- CVE-2023-22732Shopware is an open source commerce platform based on Symfon…9.8
- CVE-2023-22733Shopware is an open source commerce platform based on Symfon…6.5
- CVE-2023-22734Shopware is an open source commerce platform based on Symfon…7.5
- CVE-2023-22735Zulip is an open-source team collaboration tool. In versions…4.6
- CVE-2023-22737wire-server provides back end services for Wire, a team comm…6.5
- CVE-2023-22738vantage6 is a privacy preserving federated learning infrastr…6.5
- CVE-2023-22739Discourse is an open source platform for community discussio…6.5
- CVE-2023-2274Rejected reason: This CVE assignment was considered invalid …
- CVE-2023-22740Discourse is an open source platform for community discussio…6.5
- CVE-2023-22741Sofia-SIP is an open-source SIP User-Agent library, complian…9.8
Are you affected by CVE-2023-22736?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
