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:400f6dc94a40d30e9bf08a6bbbdb69d03bac59f84c4d66620fa7d99b4b5a96f5 | * |
| 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:99403da3c050737dbda083bb11d413b317fa2cb7143ee4ce0125fb6ad44ca184 | * |
| 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:a85eb07d72178b495f77ed1566f3ec72969fdc8acf83b2e847e7c393739ee459 | * |
| Red Hat OpenShift GitOps 1.18 | RedHat | openshift-gitops-1/argocd-rhel8:sha256:b0408f958ef20c3f6230d392049b261ebfbd50f5f8e5b0e9776b20726fc9c83a | * |
| 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 | * |