Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. For versions 2.9.0-rc1 through 2.14.19, 3.0.0-rc1 through 3.2.0-rc1, 3.1.6 and 3.0.17, when the webhook.azuredevops.username and webhook.azuredevops.password are not set in the default configuration, the /api/webhook endpoint crashes the entire argocd-server process when it receives an Azure DevOps Push event whose JSON array resource.refUpdates is empty. The slice index [0] is accessed without a length check, causing an index-out-of-range panic. A single unauthenticated HTTP POST is enough to kill the process. This issue is resolved in versions 2.14.20, 3.2.0-rc2, 3.1.8 and 3.0.19.
An exception is thrown from a function, but it is not caught.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Argo_cd | Argoproj | 2.9.0 (including) | 2.14.20 (excluding) |
| Argo_cd | Argoproj | 3.0.0 (including) | 3.0.19 (excluding) |
| Argo_cd | Argoproj | 3.1.0 (including) | 3.1.8 (excluding) |
| Argo_cd | Argoproj | 3.2.0-rc1 (including) | 3.2.0-rc1 (including) |
| Red Hat OpenShift GitOps 1.17 | RedHat | openshift-gitops-1/argocd-rhel8:sha256:a2339147b13271b43dfd58901f09ed024a5f8d1ad1def8639c416710d68f1ca3 | * |
| Red Hat OpenShift GitOps 1.17 | RedHat | openshift-gitops-1/argocd-rhel9:sha256:b9125f40d94e6aa05df7814a23d47e904ccee9f5204ebcfd994f9432b3feb0fb | * |
| Red Hat OpenShift GitOps 1.17 | RedHat | openshift-gitops-1/gitops-operator-bundle:sha256:4fc82c51692138acd9a7232fc4b3451cbca9f7be763452c811bea7a68867cb93 | * |
| Red Hat OpenShift GitOps 1.17 | RedHat | openshift-gitops-1/gitops-rhel8-operator:sha256:cbbc245f3f5be44aff1e09b209c814bb7128b53d2530b17c02c4b810fe682787 | * |
| Red Hat OpenShift GitOps 1.18 | RedHat | openshift-gitops-1/argocd-rhel8:sha256:cc5b889fa32b5476f29a9d36eb28de80c4288cbf366e86a3aa82fb4a6993b63b | * |
| Red Hat OpenShift GitOps 1.18 | RedHat | openshift-gitops-1/argocd-rhel9:sha256:d84d629b8e7e99fca60a227053ea4aae2ada53e1720ad928ebc627465e99b9a8 | * |
| Red Hat OpenShift GitOps 1.18 | RedHat | openshift-gitops-1/gitops-operator-bundle:sha256:a27b8dd047e10fbbd6fc49176036c9b5178a1d2841e26719bfde23239ede157d | * |