CVE-2024-21652
Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss
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 exploit a chain of vulnerabilities, including a Denial of Service (DoS) flaw and in-memory data storage weakness, to effectively bypass the application's brute force login protection. This is a critical security vulnerability that allows attackers to bypass the brute force login protection mechanism. Not only can they crash the service affecting all users, but they can also make unlimited login attempts, increasing the risk of account compromise. Versions 2.8.13, 2.9.9, and 2.10.4 contain a patch for this issue.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.8
Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss
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 exploit a chain of vulnerabilities, including a Denial of Service (DoS) flaw and in-memory data storage weakness, to effectively bypass the application's brute force login protection. This is a critical security vulnerability that allows attackers to bypass the brute force login protection mechanism. Not only can they crash the service affecting all users, but they can also make unlimited login attempts, increasing the risk of account compromise. Versions 2.8.13, 2.9.9, and 2.10.4 contain a patch for this issue.
- Record
CVE-2024-21652- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-307
- Updated
- 2026-11-02
EUVDEUVD-2024-1033
9.8
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 exploit a chain of vulnerabilities, including a Denial of Service (DoS) flaw and in-memory data storage weakness, to effectively bypass the application's brute force login protection. This is a critical security vulnerability that allows attackers to bypass the brute force login protection mechanism. Not only can they crash the service affecting all users, but they can also make unlimited login attempts, increasing the risk of account compromise. Versions 2.8.13, 2.9.9, and 2.10.4 contain a patch for this issue.
- Record
EUVD-2024-1033- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x32m-mvfj-52xv
9.8
Bypassing Brute Force Protection via Application Crash and In-Memory Data Loss
Summary
An attacker can exploit a chain of vulnerabilities, including a Denial of Service (DoS) flaw and in-memory data storage weakness, to effectively bypass the application's brute force login protection. This makes the application susceptible to brute force attacks, compromising the security of all user accounts.
Details
The issue arises from two main vulnerabilities:
- The application crashes due to a previously described DoS vulnerability caused by unsafe array modifications in a multi-threaded environment.
- The application saves the data of failed login attempts in-memory, without persistent storage. When the application crashes and restarts, this data is lost, resetting the brute force protections.
// LoginAttempts is a timestamped counter for failed login attempts
type LoginAttempts struct {
// Time of the last failed login LastFailed time.Time `json:"lastFailed"` // Number of consecutive login failures FailCount int `json:"failCount"`
}
By chaining these vulnerabilities, an attacker can circumvent the limitations placed on the number of login attempts.
PoC
- Run the provided PoC script.
- Observe that the script makes 6 login attempts, one more than the set limit of 5 failed attempts.
- This is made possible because the script triggers a server restart via the DoS vulnerability after 5 failed attempts, thus resetting the counter for failed login attempts.
Impact
This is a critical security vulnerability that allows attackers to bypass the brute force login protection mechanism. Not only can they crash the service affecting all users, but they can also make unlimited login attempts, increasing the risk of account compromise.
- Record
GHSA-x32m-mvfj-52xv- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-307
- Updated
- 2026-11-02
NVD
9.8
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 exploit a chain of vulnerabilities, including a Denial of Service (DoS) flaw and in-memory data storage weakness, to effectively bypass the application's brute force login protection. This is a critical security vulnerability that allows attackers to bypass the brute force login protection mechanism. Not only can they crash the service affecting all users, but they can also make unlimited login attempts, increasing the risk of account compromise. Versions 2.8.13, 2.9.9, and 2.10.4 contain a patch for this issue.
- Record
CVE-2024-21652- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-307
- Updated
- 2026-11-02
OSV
9.8
Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss
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 exploit a chain of vulnerabilities, including a Denial of Service (DoS) flaw and in-memory data storage weakness, to effectively bypass the application's brute force login protection. This is a critical security vulnerability that allows attackers to bypass the brute force login protection mechanism. Not only can they crash the service affecting all users, but they can also make unlimited login attempts, increasing the risk of account compromise. Versions 2.8.13, 2.9.9, and 2.10.4 contain a patch for this issue.
- Record
CVE-2024-21652- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-307
- Updated
- 2026-11-02
OSVCVE-2024-21662
7.5
Argo CD vulnerable to Bypassing of Rate Limit and Brute Force Protection Using Cache Overflow
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.
- Record
CVE-2024-21662- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-307
- Updated
- 2026-11-02
Show 6 moreShow less
OSVGHSA-2vgg-9h6w-m454
5.4
Bypassing Rate Limit and Brute Force Protection Using Cache Overflow
Summary
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 previously patched CVE intended to protect against brute-force attacks.
Details
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.
The brute force protection mechanism's code:
if failed && len(failures) >= getMaximumCacheSize() {
log.Warnf("Session cache size exceeds %d entries, removing random entry",
getMaximumCacheSize())
idx := rand.Intn(len(failures) - 1)
var rmUser string
i := 0
for key := range failures {
if i == idx {
rmUser = key
delete(failures, key)
break
}
i++ }
log.Infof("Deleted entry for user %s from cache", rmUser)
}
PoC
- Set up the application environment and identify the login page.
- Execute 4 failed login attempts for the admin account.
- Run a Burp Intruder attack to populate the cache with login attempts for usernames ranging from 1 to 10000.
- After 1000 attempts, start monitoring to see if the admin entries in the cache have been cleared.
- At this point, brute-force the admin account.
In just 15 minutes, the PoC was able to perform 230 brute force attempts on the admin account. This rate allows for approximately 1000 requests per hour, effectively rendering the older CVE rate limit patches useless.
Impact
This is a severe vulnerability that enables attackers to perform brute force attacks at an accelerated rate, especially targeting the default admin account.
- Record
GHSA-2vgg-9h6w-m454- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N - Weakness
- CWE-307
- Updated
- 2026-11-02
OSVGHSA-x32m-mvfj-52xv
9.8
Bypassing Brute Force Protection via Application Crash and In-Memory Data Loss
Summary
An attacker can exploit a chain of vulnerabilities, including a Denial of Service (DoS) flaw and in-memory data storage weakness, to effectively bypass the application's brute force login protection. This makes the application susceptible to brute force attacks, compromising the security of all user accounts.
Details
The issue arises from two main vulnerabilities:
- The application crashes due to a previously described DoS vulnerability caused by unsafe array modifications in a multi-threaded environment.
- The application saves the data of failed login attempts in-memory, without persistent storage. When the application crashes and restarts, this data is lost, resetting the brute force protections.
// LoginAttempts is a timestamped counter for failed login attempts
type LoginAttempts struct {
// Time of the last failed login LastFailed time.Time `json:"lastFailed"` // Number of consecutive login failures FailCount int `json:"failCount"`
}
By chaining these vulnerabilities, an attacker can circumvent the limitations placed on the number of login attempts.
PoC
- Run the provided PoC script.
- Observe that the script makes 6 login attempts, one more than the set limit of 5 failed attempts.
- This is made possible because the script triggers a server restart via the DoS vulnerability after 5 failed attempts, thus resetting the counter for failed login attempts.
Impact
This is a critical security vulnerability that allows attackers to bypass the brute force login protection mechanism. Not only can they crash the service affecting all users, but they can also make unlimited login attempts, increasing the risk of account compromise.
- Record
GHSA-x32m-mvfj-52xv- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-307
- Updated
- 2026-11-02
OSVRHSA-2024:1752
7.5
Red Hat Security Advisory: GitOps 1.12.1- Argo CD CLI and MicroShift GitOps security update
- Record
RHSA-2024:1752- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBIT-argo-cd-2024-21652 No score
Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss
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 exploit a chain of vulnerabilities, including a Denial of Service (DoS) flaw and in-memory data storage weakness, to effectively bypass the application's brute force login protection. This is a critical security vulnerability that allows attackers to bypass the brute force login protection mechanism. Not only can they crash the service affecting all users, but they can also make unlimited login attempts, increasing the risk of account compromise. Versions 2.8.13, 2.9.9, and 2.10.4 contain a patch for this issue.
- Record
BIT-argo-cd-2024-21652- Updated
- 2026-11-02
OSVBIT-argo-cd-2024-21662 No score
Argo CD vulnerable to Bypassing of Rate Limit and Brute Force Protection Using Cache Overflow
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.
- Record
BIT-argo-cd-2024-21662- Updated
- 2026-11-02
OSVGO-2024-2652 No score
Brute force protection bypass in github.com/argoproj/argo-cd/v2
An attacker can effectively bypass the rate limit and brute force protections in Argo CD by exploiting the application's weak cache-based mechanism. The application's brute force protection relies on a cache mechanism that tracks login attempts for each user. 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.
- Record
GO-2024-2652- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/argoproj/argo-cd/v2Go |
before 2.8.13 | 2.8.13 |
github.com/argoproj/argo-cd/v2Go |
2.9.0 up to 2.9.9 | 2.9.9 |
github.com/argoproj/argo-cd/v2Go |
2.10.0 up to 2.10.4 | 2.10.4 |
argo-cdBitnami From an advisory covering 2 CVEs |
before 2.10.4 | 2.10.4 |
github.com/argoproj/argo-cd/v2Go From an advisory covering 2 CVEs |
before 2.8.13 | 2.8.13 |
github.com/argoproj/argo-cd/v2Go From an advisory covering 2 CVEs |
2.9.0 up to 2.9.9 | 2.9.9 |
github.com/argoproj/argo-cd/v2Go From an advisory covering 2 CVEs |
2.10.0 up to 2.10.4 | 2.10.4 |
github.com/argoproj/argo-cd/v2Go From an advisory covering 2 CVEs |
before 2.8.13, 2.9.0 up to 2.9.9, 2.10.0 up to 2.10.4 | 2.8.132.9.92.10.4 |
openshift-gitops-argocd-cliRed Hat:openshift_gitops:1.12::el8 From an advisory covering 5 CVEs |
before 0:1.12.1-5.el8 | 0:1.12.1-5.el8 |
openshift-gitops-argocd-cli-redistributableRed Hat:openshift_gitops:1.12::el8 From an advisory covering 5 CVEs |
before 0:1.12.1-5.el8 | 0:1.12.1-5.el8 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
microshift-gitopsRed Hat:openshift_gitops:1.12::el9 From an advisory covering 5 CVEs |
before 0:1.12.1-4.el9 | 0:1.12.1-4.el9 |
microshift-gitops-release-infoRed Hat:openshift_gitops:1.12::el9 From an advisory covering 5 CVEs |
before 0:1.12.1-4.el9 | 0:1.12.1-4.el9 |
openshift-gitops-argocd-cliRed Hat:openshift_gitops:1.12::el9 From an advisory covering 5 CVEs |
before 0:1.12.1-4.el9 | 0:1.12.1-4.el9 |
openshift-gitops-argocd-cli-redistributableRed Hat:openshift_gitops:1.12::el9 From an advisory covering 5 CVEs |
before 0:1.12.1-4.el9 | 0:1.12.1-4.el9 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-21652 is a critical vulnerability (CVSS 9.8) in Argoproj Argo Cd, published March 18, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.75%, the 55th percentile. Fixed in github.com/argoproj/argo-cd/v2 2.8.13.
References
github.com/argoproj/argo-cd/security/advisories/GHSA-x32m-mvfj-52xv
nvd.nist.gov/vuln/detail/CVE-2024-21652
github.com/argoproj/argo-cd/commit/17b0df1168a4c535f6f37e95f25ed7cd81e1fa4d
github.com/argoproj/argo-cd/commit/6e181d72b31522f886a2afa029d5b26d7912ec7b
github.com/argoproj/argo-cd/commit/cebb6538f7944c87ca2fecb5d17f8baacc431456
argo-cd.readthedocs.io/en/stable/security_considerations
Show 36 moreShow less
github.com/advisories/GHSA-x32m-mvfj-52xv
github.com/argoproj/argo-cd/security/advisories/GHSA-2vgg-9h6w-m454
nvd.nist.gov/vuln/detail/CVE-2024-21662
github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21652.json
github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21662.json
github.com/argoproj/argo-cd
access.redhat.com/errata/RHSA-2024:1752
access.redhat.com/security/updates/classification
docs.openshift.com/gitops/latest/understanding_openshift_gitops/about-redhat-openshift-gitops.html
bugzilla.redhat.com/show_bug.cgi?id=2269479
bugzilla.redhat.com/show_bug.cgi?id=2270170
bugzilla.redhat.com/show_bug.cgi?id=2270173
bugzilla.redhat.com/show_bug.cgi?id=2270182
bugzilla.redhat.com/show_bug.cgi?id=2272211
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_1752.json
access.redhat.com/security/cve/CVE-2023-50726
cve.org/CVERecord?id=CVE-2023-50726
nvd.nist.gov/vuln/detail/CVE-2023-50726
argo-cd.readthedocs.io/en/latest/operator-manual/rbac
github.com/argoproj/argo-cd/commit/3b8f673f06c2d228e01cbc830e5cb57cef008978
github.com/argoproj/argo-cd/security/advisories/GHSA-g623-jcgg-mhmm
access.redhat.com/security/cve/CVE-2024-21652
cve.org/CVERecord?id=CVE-2024-21652
access.redhat.com/security/cve/CVE-2024-21661
cve.org/CVERecord?id=CVE-2024-21661
nvd.nist.gov/vuln/detail/CVE-2024-21661
github.com/argoproj/argo-cd/security/advisories/GHSA-6v85-wr92-q4p7
access.redhat.com/security/cve/CVE-2024-21662
cve.org/CVERecord?id=CVE-2024-21662
access.redhat.com/security/cve/CVE-2024-29893
cve.org/CVERecord?id=CVE-2024-29893
nvd.nist.gov/vuln/detail/CVE-2024-29893
github.com/argoproj/argo-cd/commit/14f681e3ee7c38731943b98f92277e88a3db109d
github.com/argoproj/argo-cd/commit/36b8a12a38f8d92d55bffc81deed44389bf6eb59
github.com/argoproj/argo-cd/commit/3e5a878f6e30d935fa149723ea2a2e93748fcddd
github.com/argoproj/argo-cd/security/advisories/GHSA-jhwx-mhww-rgc3