Skip to content

CVE-2023-50726 Users with `create` but not `override` privileges can perform local sync in argo-cd

MediumCVSS 6.4 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Kubernetes

Description

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
argoproj github.com/argoproj/argo-cd(Go) >= 1.2.0-rc1; >= 1.2.0-rc1, <= 1.8.7; >= 2.0.0, < 2.8.12; >= 2.0.0-rc3, < 2.8.12 +2 more 2.8.12, 2.9.8, 2.10.3 Partially fixed
argoproj Argo CD >= 1.2.0, < 2.8.12; >= 2.9.0, < 2.9.7; >= 2.10.0, < 2.10.3 2.8.12, 2.9.7, 2.10.3 Fixed
argoproj github.com/argoproj/argo-cd = >= 1.2.0-rc1, < 2.8.12; = >= 2.9.0, < 2.9.8; = >= 2.10.0, < 2.10.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
argoproj github.com/argoproj/argo-cd(Go) >= 1.2.0-rc1, <= 1.8.7 No fix listed
argoproj github.com/argoproj/argo-cd(Go) >= 2.9.0, < 2.9.8 2.9.8
argoproj github.com/argoproj/argo-cd(Go) >= 2.10.0, < 2.10.3 2.10.3
argoproj github.com/argoproj/argo-cd(Go) >= 2.0.0-rc3, < 2.8.12 2.8.12
argoproj github.com/argoproj/argo-cd(Go) >= 1.2.0-rc1 No fix listed
argoproj github.com/argoproj/argo-cd(Go) >= 2.0.0, < 2.8.12 2.8.12
argoproj github.com/argoproj/argo-cd = >= 1.2.0-rc1, < 2.8.12 No fix listed
argoproj github.com/argoproj/argo-cd = >= 2.9.0, < 2.9.8 No fix listed
argoproj github.com/argoproj/argo-cd = >= 2.10.0, < 2.10.3 No fix listed
argoproj Argo CD >= 1.2.0, < 2.8.12 2.8.12
argoproj Argo CD >= 2.9.0, < 2.9.7 2.9.7
argoproj Argo CD >= 2.10.0, < 2.10.3 2.10.3

References