# CVE-2024-4629: Keycloak: potential bypass of brute force protection

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-02)
- Published: 2024-09-03T19:42:01.318Z
- Modified: 2026-11-27T04:16:39.317Z
- Also known as: GHSA-gc7q-jgjv-vjr2, BIT-KEYCLOAK-2024-4629
- Weaknesses: CWE-307, CWE-837
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- keycloak: 24.0.3
- keycloak-parent: no versions given
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 22.0.12-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 22-17 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 22-20 before *)
- rh-sso7-keycloak: no versions given (not affected: from 0:18.0.16-1.redhat_00001.1.el7sso before *; from 0:18.0.16-1.redhat_00001.1.el8sso before *; from 0:18.0.16-1.redhat_00001.1.el9sso before *)
- rh-sso-7/sso76-openshift-rhel8: no versions given (not affected: from 7.6-52 before *)
- org.keycloak:keycloak-services (Maven): before 22.0.12; from 23.0.0 before 24.0.7; from 25.0.0 before 25.0.4
- redhat keycloak: before 24.0.3
- redhat build_of_keycloak: from 22.0 before 22.012
- redhat single_sign-on: from 7.6 before 7.6.10
- redhat openshift_container_platform: 4.11; 4.12
- redhat openshift_container_platform_for_linuxone: 4.9; 4.10
- redhat openshift_container_platform_for_power: 4.9; 4.10
- redhat openshift_container_platform_ibm_z_systems: 4.9; 4.10
- keycloak (Bitnami): from 22.0.0 before 22.12.0

## Every score

- redhat: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://access.redhat.com/errata/RHSA-2024:6493> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6494> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6495> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6497> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6499> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6500> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6501> (advisory, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-4629> (advisory, vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2276761> (advisory, issue-tracking, vendor-advisory, web)
- <https://security.humanativaspa.it/an-analysis-of-the-keycloak-authentication-system/> (web)
- <https://github.com/hnsecurity/vulns/blob/main/HNS-2024-09-Keycloak.md> (web)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-gc7q-jgjv-vjr2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4629> (advisory, web)
- <https://github.com/keycloak/keycloak/commit/d78b3072ffffbff3954bf9f3181e3daf8e93c1ab> (web)
- <https://github.com/keycloak/keycloak/commit/c8053dd812d9b9f05b293f901b9dc39e061ebb88> (web)
- <https://github.com/keycloak/keycloak/commit/b25c28458a562abda2f84fc684e59cce8577e562> (web)
- <https://github.com/keycloak/keycloak/commit/99f92ad5fff5555d53930c2d32f8be3e08c514c1> (web)
- <https://github.com/keycloak/keycloak/commit/461fa631dc55b9739c9ed8c49de9f5b213955200> (web)
- <https://github.com/keycloak/keycloak/commit/2fb358e1a21c5387cdc11100ce3562b4dcfe5416> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2024-4629](https://www.cve.org/CVERecord?id=CVE-2024-4629), CVE Terms of Use, modified 2026-11-27
- GitHub Advisory Database: [GHSA-gc7q-jgjv-vjr2](https://github.com/advisories/GHSA-gc7q-jgjv-vjr2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-4629](https://nvd.nist.gov/vuln/detail/CVE-2024-4629), Public domain, modified 2026-11-27
- Bitnami Vulnerability Database: [BIT-KEYCLOAK-2024-4629](https://osv.dev/vulnerability/BIT-KEYCLOAK-2024-4629), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-4629 · Whole record: https://cve.day/CVE-2024-4629.json · Rebuilt by cve.day 2026-11-27T04:17:32.440Z
