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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | keycloak | 24.0.3 | — |
| Red Hat | Red Hat Build of Keycloak | — | — |
| Red Hat | Red Hat build of Keycloak 22 | — | — |
| Red Hat | Red Hat Single Sign-On 7 | — | — |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | — | — |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | — | — |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | — | — |
| Red Hat | RHEL-8 based Middleware Containers | — | — |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Single Sign On 7 | rh-sso7-keycloak +1 | 18.0.16-1.redhat_00001.1.el7sso | RHSA-2024:6495, RHSA-2024:6494, RHSA-2024:6493 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | < 22.0.12 | 22.0.12 | GHSA-gc7q-jgjv-vjr2 |
| Maven | org.keycloak:keycloak-services | >= 23.0.0, < 24.0.7 | 24.0.7 | GHSA-gc7q-jgjv-vjr2 |
| Maven | org.keycloak:keycloak-services | >= 25.0.0, < 25.0.4 | 25.0.4 | GHSA-gc7q-jgjv-vjr2 |
Advisories 4
- RHSA-2024:6495 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.10 security update on RHEL 9 Red Hat Security Advisories (RHSA) · Aug 27, 2026
- RHSA-2024:6493 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.10 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Aug 27, 2026
- RHSA-2024:6494 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.10 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Aug 27, 2026
- WID-SEC-2024-2046 Keycloak: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Dec 17, 2024
References
- RHSA-2024:6493 vendor-advisory
- RHSA-2024:6494 vendor-advisory
- RHSA-2024:6495 vendor-advisory
- RHSA-2024:6497 vendor-advisory
- RHSA-2024:6499 vendor-advisory
- RHSA-2024:6500 vendor-advisory
- RHSA-2024:6501 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-4629 vdb-entry
- RHBZ#2276761 issue-tracking