Users with `create` but not `override` privileges can perform local sync in argo-cd (argoproj argo-cd)

CVE-2023-50726
MEDIUM 6.4

At a glance

Source
NVD
EPSS
EPSS 0.53 % Β· percentile 45 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-269 β€” Improper Privilege Management
  • CWE-863 β€” Incorrect Authorization

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:LGitHub_M
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:LNVD Β· security-advisories@github.com (Secondary)
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:LNVD Β· nvd@nist.gov (Primary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
argoproj Β· argo-cdaffected >= 1.2.0-rc1, < 2.8.12 ; affected >= 2.9.0, < 2.9.8 ; affected >= 2.10.0, < 2.10.3

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD