Argo CD、Kustomize経由でコマンド実行の恐れ 修正版あり
Summary
Argo CD の Kustomize 連携に、リポジトリ処理を担う argocd-repo-server 上で任意のコマンドを実行させられる弱点が見つかりました。既存 Application の閲覧権限だけでも悪用できる経路があり、Git の認証情報が読み取られるおそれがあります。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 連携に、リポジトリ処理を担う argocd-repo-server 上で任意のコマンドを実行させられる弱点が見つかりました。既存 Application の閲覧権限だけでも悪用できる経路があり、Git の認証情報が読み取られるおそれがあります。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.7.0 until 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2, Kustomize passes ref or version query values from remote resource, base, or component URLs to git fetch without an end-of-options separator. A leading-hyphen value can be parsed as --upload-pack and execute a command inside argocd-repo-server when the remote uses a local transport such as file://. Git does not run the supplied command for an https:// remote. The local transport does not leave the pod, so blocking repo-server egress does not prevent the execution. The command runs as the repo-server user, can read repository credentials and other process-accessible data, and can return output through manifest-generation errors. An attacker can commit a Kustomization to a Git repository that an Application builds or upload 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. Kustomize 5.0.0 introduced acceptance of file://, whereas 4.5.7 rejects that transport; replacing the affected Kustomize with a newer version alone does not correct the missing option separator. 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
- web argo-cd.readthedocs.io
- web github.com
- web github.com
- web github.com
- web github.com