Argo CD に任意コマンド実行の欠陥、修正版が公開
Summary
Argo CD で、Kustomize の Helm 連携(--enable-helm)を有効にしていると、リポジトリに仕込まれたプログラムが argocd-repo-server 上で実行される弱点が見つかりました。リポジトリの認証情報などが読み取られるおそれがあり、深刻度は CVSS 9.9 です。該当する構成なら、修正版 3.3.15・3.4.10・3.5.4・3.6.0-rc2 のいずれかへの更新を進め、あわせて設定の確認と権限の見直しをしてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Argo CD で、Kustomize の Helm 連携(--enable-helm)を有効にしていると、リポジトリに仕込まれたプログラムが argocd-repo-server 上で実行される弱点が見つかりました。リポジトリの認証情報などが読み取られるおそれがあり、深刻度は CVSS 9.9 です。該当する構成なら、修正版 3.3.15・3.4.10・3.5.4・3.6.0-rc2 のいずれかへの更新を進め、あわせて設定の確認と権限の見直しをしてください。
Original description The description as published by the source.
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From 2.1.0 until 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2, when an operator has enabled --enable-helm for kustomize build, helmGlobals.configHome can point Helm's config and data directories at a repository-controlled location. Helm automatically loads a downloader plugin from /.data/plugins without a separate plugin-install step and executes its program inside argocd-repo-server when a helmCharts repository URL uses the plugin's protocol. The command runs as the repo-server user and can read repository credentials and other process-accessible data. An attacker can commit the Kustomization and plugin to a Git repository that an Application builds or upload the files through POST /api/v1/applications/manifestsWithFiles, also exposed by argocd app diff --local --server-side-generate. The upload path requires only Application get permission on an existing Application, without Application update or sync permission or repository write access. Both delivery paths require prior operator enablement of --enable-helm; deployments that do not enable it are not affected. Kustomize 4.1.0 first passed helmGlobals.configHome through to Helm. This issue is fixed in versions 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2.
Source: NIST National Vulnerability Database NVD
References
- advisory github.com
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- web argo-cd.readthedocs.io
- web github.com
- web github.com
- web github.com
- web github.com