CVE Vulnerabilities

CVE-2024-21662

Improper Restriction of Excessive Authentication Attempts

Published: Mar 18, 2024 | Modified: Mar 18, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.4 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Ubuntu

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Prior to versions 2.8.13, 2.9.9, and 2.10.4, an attacker can effectively bypass the rate limit and brute force protections by exploiting the applications weak cache-based mechanism. This loophole in security can be combined with other vulnerabilities to attack the default admin account. This flaw undermines a patch for CVE-2020-8827 intended to protect against brute-force attacks. The applications brute force protection relies on a cache mechanism that tracks login attempts for each user. This cache is limited to a defaultMaxCacheSize of 1000 entries. An attacker can overflow this cache by bombarding it with login attempts for different users, thereby pushing out the admin accounts failed attempts and effectively resetting the rate limit for that account. This is a severe vulnerability that enables attackers to perform brute force attacks at an accelerated rate, especially targeting the default admin account. Users should upgrade to version 2.8.13, 2.9.9, or 2.10.4 to receive a patch.

Weakness

The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks.

Affected Software

Name Vendor Start Version End Version
Red Hat OpenShift GitOps 1.10 RedHat openshift-gitops-1/argocd-rhel8:v1.10.4-1 *
Red Hat OpenShift GitOps 1.10 RedHat openshift-gitops-1/argo-rollouts-rhel8:v1.10.4-1 *
Red Hat OpenShift GitOps 1.10 RedHat openshift-gitops-1/console-plugin-rhel8:v1.10.4-1 *
Red Hat OpenShift GitOps 1.10 RedHat openshift-gitops-1/dex-rhel8:v1.10.4-1 *
Red Hat OpenShift GitOps 1.10 RedHat openshift-gitops-1/gitops-operator-bundle:v1.10.4-1 *
Red Hat OpenShift GitOps 1.10 RedHat openshift-gitops-1/gitops-rhel8:v1.10.4-1 *
Red Hat OpenShift GitOps 1.10 RedHat openshift-gitops-1/gitops-rhel8-operator:v1.10.4-1 *
Red Hat OpenShift GitOps 1.10 RedHat openshift-gitops-1/kam-delivery-rhel8:v1.10.4-1 *
Red Hat OpenShift GitOps 1.10 RedHat openshift-gitops-1/must-gather-rhel8:v1.10.4-1 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/argocd-rhel8:v1.11.3-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/argo-rollouts-rhel8:v1.11.3-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/console-plugin-rhel8:v1.11.3-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/dex-rhel8:v1.11.3-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/gitops-operator-bundle:v1.11.3-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/gitops-rhel8:v1.11.3-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/gitops-rhel8-operator:v1.11.3-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/kam-delivery-rhel8:v1.11.3-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/must-gather-rhel8:v1.11.3-2 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-argocd-cli-0:1.12.1-5.el8 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/argocd-rhel8:v1.12.1-1 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/argo-rollouts-rhel8:v1.12.1-1 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/console-plugin-rhel8:v1.12.1-1 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/dex-rhel8:v1.12.1-1 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/gitops-operator-bundle:v1.12.1-1 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/gitops-rhel8:v1.12.1-1 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/gitops-rhel8-operator:v1.12.1-1 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/kam-delivery-rhel8:v1.12.1-1 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/must-gather-rhel8:v1.12.1-1 *
Red Hat OpenShift GitOps 1.12 - RHEL 9 RedHat microshift-gitops-0:1.12.1-4.el9 *
Red Hat OpenShift GitOps 1.12 - RHEL 9 RedHat openshift-gitops-argocd-cli-0:1.12.1-4.el9 *
Red Hat OpenShift GitOps 1.12 - RHEL 9 RedHat openshift-gitops-argocd-rhel9-container-v1.12.1-2 *

Potential Mitigations

  • Common protection mechanisms include:

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.

  • Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]

References