Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL
argoproj argo-cd
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/argoproj/argo-cd/v2 Go |
| No fix yet |
| github.com/argoproj/argo-cd/v3 Go |
|
argoproj argo-cd
| Product | Affected | Fixed in |
|---|---|---|
| github.com/argoproj/argo-cd/v2 Go |
| No fix yet |
| github.com/argoproj/argo-cd/v3 Go |
|
|
| github.com/argoproj/argo-cd Go |
| No fix yet |
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From 2.11.0 until 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2, the Argo CD repo-server is vulnerable to command injection when it clones, tests, or fetches an SSH Git repository configured with a proxy URL. The proxy host and port are embedded in an SSH ProxyCommand that is executed through a shell without neutralizing shell metacharacters. A user who can create or update a repository or repository credential template can supply a crafted proxy host to execute commands in the repo-server and access its Git, Helm, and OCI credentials. This issue is fixed in versions 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2.
From the CVE record · GitHub_M
Argo CD repo-server is vulnerable to command injection when it clones, tests, or fetches an SSH Git repository configured with a proxy URL. A user who can create or update a repository or repository credential template can supply a crafted proxy host to execute commands in repo-server and access its Git, Helm, and OCI credentials.
Operators running affected versions of the Go packages github.com/argoproj/argo-cd/v2 (2.11.0–2.14.21), github.com/argoproj/argo-cd/v3 (3.0.0–before 3.3.15, 3.4.0–before 3.4.10, 3.5.0–before 3.5.4, or 3.6.0-rc1–before 3.6.0-rc2), or github.com/argoproj/argo-cd (all versions) should check.