Bug 2269479 (CVE-2023-50726) - CVE-2023-50726 Argo CD: Users with `create` but not `override` privileges can perform local sync
Summary: CVE-2023-50726 Argo CD: Users with `create` but not `override` privileges can...
Keywords:
Status: NEW
Alias: CVE-2023-50726
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2269480
Blocks: 2269481
TreeView+ depends on / blocked
 
Reported: 2024-03-14 04:59 UTC by Avinash Hanwate
Modified: 2024-04-10 12:42 UTC (History)
4 users (show)

Fixed In Version: argo-cd 2.10.3, argo-cd 2.9.8, argo-cd 2.8.12
Doc Type: ---
Doc Text:
A flaw was found in the Argo CD package. An improper validation bug allows users to sync local manifests on app creation, who have create privileges but not override privileges. All other restrictions, including AppProject restrictions, are still enforced. The only restriction that is not enforced is that the manifests come from some approved git/Helm/OCI source.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:1697 0 None None None 2024-04-08 13:36:23 UTC
Red Hat Product Errata RHSA-2024:1700 0 None None None 2024-04-08 16:37:16 UTC
Red Hat Product Errata RHSA-2024:1752 0 None None None 2024-04-10 12:18:00 UTC
Red Hat Product Errata RHSA-2024:1753 0 None None None 2024-04-10 12:42:02 UTC

Description Avinash Hanwate 2024-03-14 04:59:54 UTC
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. "Local sync" is an Argo CD feature that allows developers to temporarily override an Application's manifests with locally-defined manifests. Use of the feature should generally be limited to highly-trusted users, since it allows the user to bypass any merge protections in git. An improper validation bug allows users who have `create` privileges but not `override` privileges to sync local manifests on app creation. All other restrictions, including AppProject restrictions are still enforced. The only restriction which is not enforced is that the manifests come from some approved git/Helm/OCI source. The bug was introduced in 1.2.0-rc1 when the local manifest sync feature was added. The bug has been patched in Argo CD versions 2.10.3, 2.9.8, and 2.8.12. Users are advised to upgrade. Users unable to upgrade may mitigate the risk of branch protection bypass by removing `applications, create` RBAC access. The only way to eliminate the issue without removing RBAC access is to upgrade to a patched version.

https://argo-cd.readthedocs.io/en/latest/operator-manual/rbac
https://github.com/argoproj/argo-cd/commit/3b8f673f06c2d228e01cbc830e5cb57cef008978
https://github.com/argoproj/argo-cd/security/advisories/GHSA-g623-jcgg-mhmm

Comment 3 errata-xmlrpc 2024-04-08 13:36:22 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift GitOps 1.11

Via RHSA-2024:1697 https://access.redhat.com/errata/RHSA-2024:1697

Comment 4 errata-xmlrpc 2024-04-08 16:37:15 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift GitOps 1.10

Via RHSA-2024:1700 https://access.redhat.com/errata/RHSA-2024:1700

Comment 5 errata-xmlrpc 2024-04-10 12:17:59 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift GitOps 1.12
  Red Hat OpenShift GitOps 1.12 - RHEL 9

Via RHSA-2024:1752 https://access.redhat.com/errata/RHSA-2024:1752

Comment 6 errata-xmlrpc 2024-04-10 12:42:01 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift GitOps 1.12
  Red Hat OpenShift GitOps 1.12 - RHEL 9

Via RHSA-2024:1753 https://access.redhat.com/errata/RHSA-2024:1753


Note You need to log in before you can comment on or make changes to this bug.