CVE-2023-22736

Published on: Not Yet Published

Last Modified on: 02/07/2023 01:15:00 AM UTC

CVE-2023-22736 - advisory for GHSA-6p4m-hw2h-6gmw

Source: Mitre Source: NIST CVE.ORG Print: PDF PDF
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Certain versions of Argo-cd from Linuxfoundation contain the following vulnerability:

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.

  • CVE-2023-22736 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.
  • Affected Vendor/Software: URL Logo argoproj - argo-cd version = >= 2.5.0=rc1, < 2.5.8
  • Affected Vendor/Software: URL Logo argoproj - argo-cd version = = 2.6.0-rc4, < 2.6.0-rc5

CVSS3 Score: 8.5 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK HIGH LOW NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
CHANGED HIGH HIGH HIGH

CVE References

Description Tags Link
Controller reconciles apps outside configured namespaces when sharding is enabled · Advisory · argoproj/argo-cd · GitHub github.com
text/html
URL Logo MISC github.com/argoproj/argo-cd/security/advisories/GHSA-6p4m-hw2h-6gmw

Exploit/POC from Github

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Versions starting with 2.5.0-rc1 and above,…

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationLinuxfoundationArgo-cdAllAllAllAll
ApplicationLinuxfoundationArgo-cd2.6.0rc1AllAll
ApplicationLinuxfoundationArgo-cd2.6.0rc2AllAll
ApplicationLinuxfoundationArgo-cd2.6.0rc3AllAll
ApplicationLinuxfoundationArgo-cd2.6.0rc4AllAll
  • cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:*:
  • 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:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @crenshawdotdev New Argo CD releases are out for CVE-2023-22482 (CRITICAL - github.com/argoproj/argo-…) and CVE-2023-22736 (HIGH -… twitter.com/i/web/status/1… 2023-01-25 17:35:39
© CVE.report 2023 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report