CVE-2024-4629
Keycloak: potential bypass of brute force protection
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
A vulnerability was found in Keycloak. This flaw allows attackers to bypass brute force protection by exploiting the timing of login attempts. By initiating multiple login requests simultaneously, attackers can exceed the configured limits for failed attempts before the system locks them out. This timing loophole enables attackers to make more guesses at passwords than intended, potentially compromising account security on affected systems.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.79% · top 43% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
keycloak
- affected 24.0.3
Red Hat · Red Hat Build of Keycloak
All versions: unaffected
Red Hat · Red Hat build of Keycloak 22
- unaffected 22.0.12-1 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-17 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-20 – < *
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.16-1.redhat_00001.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.16-1.redhat_00001.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.16-1.redhat_00001.1.el9sso – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-52 – < *
Red Hat · Red Hat JBoss Enterprise Application Platform 8
All versions: unaffected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-gc7q-jgjv-vjr2 (opens in a new tab)
What to do
Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (11)
- RHSA-2024:6493 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6494 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6495 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6497 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6499 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6500 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6501 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-4629 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2276761 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://security.humanativaspa.it/an-analysis-of-the-keycloak-authentication-system/ (opens in a new tab)
- https://github.com/hnsecurity/vulns/blob/main/HNS-2024-09-Keycloak.md (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-gc7q-jgjv-vjr2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-4629)Record last updated .