Vulnerability · Published Mar 13, 2024 · Assigned by GitHub_M
CVE-2023-50726Users with `create` but not `override` privileges can perform local sync in argo-cd
Medium 6.4
In plain English
A medium-severity privilege mismanagement in argo-cd from argoproj. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/argoproj/argo-cd | no fix listed | GHSA-g623-jcgg-mhmm |
| Go | github.com/argoproj/argo-cd | no fix listed | GO-2024-2643 |
| Go | github.com/argoproj/argo-cd/v2 | 2.9.8 | GHSA-g623-jcgg-mhmm |
| Go | github.com/argoproj/argo-cd/v2 | 2.10.3 | GHSA-g623-jcgg-mhmm |
| Go | github.com/argoproj/argo-cd/v2 | 2.8.12 | GHSA-g623-jcgg-mhmm |
| Go | github.com/argoproj/argo-cd/v2 | 2.10.3, 2.8.12, 2.9.8 | GO-2024-2643 |
Affected products (as reported)
Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L