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.16 | RedHat | openshift-gitops-1/argocd-rhel8:sha256:bdd0a289775ce41a8b495e02626f2e84b39f27d8eab8e351faf13bd46c8bb843 | * |
| Red Hat OpenShift GitOps 1.16 | RedHat | openshift-gitops-1/argocd-rhel9:sha256:bc2ef6df807856991b716adea85d114c5f61a6ea02d1d3dddc86ddd61bacab76 | * |
| Red Hat OpenShift GitOps 1.16 | RedHat | openshift-gitops-1/gitops-operator-bundle:sha256:78dc89a4a9dfb8dcf93224fd9a3caa63ea1551f8da73a88aebb284123d4a2962 | * |
| Red Hat OpenShift GitOps 1.17 | RedHat | openshift-gitops-1/argocd-rhel8:sha256:12e0ab863663d47e2a483839e000eb8fa624bd5766bf706213db295a0e00815f | * |
| Red Hat OpenShift GitOps 1.17 | RedHat | openshift-gitops-1/argocd-rhel9:sha256:9ef69c345cfa9198e4d56366946741f83413e0cc1e63a95104a5dd476805e78d | * |
| 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:73cbdb023ab9abf39602b4a15f9a68515aad37c14a1bbff060b906570ab9d2c3 | * |
| Red Hat OpenShift GitOps 1.18 | RedHat | openshift-gitops-1/argocd-rhel9:sha256:2cb3b46616a69b95620a59b43e9aadbe02e98b984434d1a47410a603de4d1598 | * |
| Red Hat OpenShift GitOps 1.18 | RedHat | openshift-gitops-1/gitops-operator-bundle:sha256:a27b8dd047e10fbbd6fc49176036c9b5178a1d2841e26719bfde23239ede157d | * |