Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.9
CVE-2024-4629: Keycloak Login Attempts Can Be Bypassed by Coordinated Attackers
CVE-2024-4629 · published 2 years ago
Summary
Attackers can bypass Keycloak's protection against repeated login attempts by sending many login requests at the same time. This allows them to try more passwords than intended, making it easier to guess a correct password and access accounts. To mitigate this risk, update to a patched version of Keycloak as soon as possible.
What to do
- Update keycloak org.keycloak:keycloak-services to version 22.0.12.
- Update keycloak org.keycloak:keycloak-services to version 24.0.7.
- Update keycloak org.keycloak:keycloak-services to version 25.0.4.
- Update keycloak to version 22.12.0.
- Update redhat keycloak to version 24.0.3 or later.
- Update redhat build_of_keycloak to version 22.012 or later.
- Update redhat single_sign-on to version 7.6.10 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | redhat | openshift_container_platform_ibm_z_systems |
4.9 4.10 cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems:4.9:*:*:*:*:*:*:* |
| maven | keycloak | org.keycloak:keycloak-services |
< 22.0.12 >= 23.0.0, < 24.0.7 >= 25.0.0, < 25.0.4 Fix: upgrade to 22.0.12
|
| – | redhat | keycloak |
< 24.0.3 cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* |
| – | redhat | build_of_keycloak |
>= 22.0, < 22.012 cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* |
| – | redhat | single_sign-on |
>= 7.6, < 7.6.10 cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* |
| – | redhat | openshift_container_platform |
4.11 4.12 cpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:* |
| – | redhat | openshift_container_platform_for_linuxone |
4.9 4.10 cpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.9:*:*:*:*:*:*:* |
| – | redhat | openshift_container_platform_for_power |
4.9 4.10 cpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:* |
| Bitnami | – | keycloak |
>= 22.0.0, < 22.12.0 Fix: upgrade to 22.12.0
|
Original advisory text
Keycloak: potential bypass of brute force protection
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.
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-gc7q-jgjv-vjr2
- https://github.com/keycloak/keycloak/commit/d78b3072ffffbff3954bf9f3181e3daf8e93...
- https://github.com/keycloak/keycloak/commit/c8053dd812d9b9f05b293f901b9dc39e061e...
- https://github.com/keycloak/keycloak/commit/b25c28458a562abda2f84fc684e59cce8577...
- https://github.com/keycloak/keycloak/commit/99f92ad5fff5555d53930c2d32f8be3e08c5...
- https://github.com/keycloak/keycloak/commit/461fa631dc55b9739c9ed8c49de9f5b21395...
- https://github.com/keycloak/keycloak/commit/2fb358e1a21c5387cdc11100ce3562b4dcfe...
- https://nvd.nist.gov/vuln/detail/CVE-2024-4629 Vendor Advisory
- https://github.com/advisories/GHSA-gc7q-jgjv-vjr2
- https://github.com/hnsecurity/vulns/blob/main/HNS-2024-09-Keycloak.md URL
- https://security.humanativaspa.it/an-analysis-of-the-keycloak-authentication-sys... URL
- https://access.redhat.com/downloads/content/package-browser/ URL
- https://access.redhat.com/jbossnetwork/restricted/listSoftware.html URL
- https://catalog.redhat.com/software/containers/ URL
- https://access.redhat.com/errata/RHSA-2024:6493 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4629.j... Vendor Advisory
- https://github.com/keycloak/keycloak Product
- https://access.redhat.com/errata/RHSA-2024:6494 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:6495 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:6497 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:6499 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:6500 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:6501 Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2024-4629 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2276761 Third Party Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Type
CWE-307Improper Restriction of Excessive Authentication Attempts
CWE-837Improper Enforcement of a Single, Unique Action
Timeline
Published3 Sep 2024
Updated4 Nov 2026
First seen6 Mar 2026
Sources
GHSA-gc7q-jgjv-vjr2 · GHSA
CVE-2024-4629 · NVD
BIT-keycloak-2024-4629 · OSV
CVE-2024-4629 · OSV
Track software like this
Free during beta