Argo CD vulnerable to Bypassing of Rate Limit and Brute Force Protection Using Cache Overflow (argoproj argo-cd)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.84 % · percentile 58 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-307 — Improper Restriction of Excessive Authentication Attempts
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-2vgg-9h6w-m454
- https://github.com/argoproj/argo-cd/commit/17b0df1168a4c535f6f37e95f25ed7cd81e1fa4d
- https://github.com/argoproj/argo-cd/commit/6e181d72b31522f886a2afa029d5b26d7912ec7b
- https://github.com/argoproj/argo-cd/commit/cebb6538f7944c87ca2fecb5d17f8baacc431456
- https://argo-cd.readthedocs.io/en/stable/security_considerations/#cve-2020-8827-insufficient-anti-automationanti-brute-force
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-2vgg-9h6w-m454 — Bypassing Rate Limit and Brute Force Protection Using Cache Overflow
- GHSA-x32m-mvfj-52xv — Bypassing Brute Force Protection via Application Crash and In-Memory Data Loss
- GO-2024-2652 — Brute force protection bypass in github.com/argoproj/argo-cd/v2
European references
- ENISA EUVD · EUVD-2024-0792
- GCVE · GCVE-0-2024-21662
Affected configurations (NVD CPE)
cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*< 2.8.13cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*≥ 2.9.0 < 2.9.9cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*≥ 2.10.0 < 2.10.4
Affected products
| Product | Versions |
|---|---|
| argoproj · argo-cd | affected < 2.8.13 ; affected >= 2.9.0, < 2.9.9 ; affected >= 2.10.0, < 2.10.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |