CVE-2023-50726: Users with `create` but not `override` privileges can perform local sync
(updated )
“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.
References
- argo-cd.readthedocs.io/en/latest/operator-manual/rbac
- github.com/advisories/GHSA-g623-jcgg-mhmm
- github.com/argoproj/argo-cd
- github.com/argoproj/argo-cd/commit/3b8f673f06c2d228e01cbc830e5cb57cef008978
- github.com/argoproj/argo-cd/security/advisories/GHSA-g623-jcgg-mhmm
- nvd.nist.gov/vuln/detail/CVE-2023-50726
Code Behaviors & Features
Detect and mitigate CVE-2023-50726 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →