Vulnerability · Published Mar 18, 2024 · Assigned by GitHub_M

CVE-2024-21662Argo CD vulnerable to Bypassing of Rate Limit and Brute Force Protection Using Cache Overflow

High 7.5

In plain English

A high-severity security flaw in argo-cd from argoproj. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 42.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 application's 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 application's 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 account's 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/argoproj/argo-cd/v22.8.13GHSA-2vgg-9h6w-m454
Gogithub.com/argoproj/argo-cd/v22.9.9GHSA-2vgg-9h6w-m454
Gogithub.com/argoproj/argo-cd/v22.10.4GHSA-2vgg-9h6w-m454
Gogithub.com/argoproj/argo-cd/v22.8.13GHSA-x32m-mvfj-52xv
Gogithub.com/argoproj/argo-cd/v22.9.9GHSA-x32m-mvfj-52xv
Gogithub.com/argoproj/argo-cd/v22.10.4GHSA-x32m-mvfj-52xv
Gogithub.com/argoproj/argo-cd/v22.10.4, 2.8.13, 2.9.9GO-2024-2652

Affected products (as reported)

VendorProductVersions
argoproj argo-cd < 2.8.13>= 2.9.0, < 2.9.9>= 2.10.0, < 2.10.4

Weakness: CWE-307 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References