Vulnerability · Published Sep 3, 2024 · Assigned by redhat
CVE-2024-4629Keycloak: potential bypass of brute force protection
Medium 6.5
In plain English
A medium-severity security flaw in keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 22.0.12 | GHSA-gc7q-jgjv-vjr2 |
| Maven | org.keycloak:keycloak-services | 24.0.7 | GHSA-gc7q-jgjv-vjr2 |
| Maven | org.keycloak:keycloak-services | 25.0.4 | GHSA-gc7q-jgjv-vjr2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| keycloak | 24.0.3 | |
| Red Hat | Red Hat Build of Keycloak | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat Single Sign-On 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | see references |
| Red Hat | RHEL-8 based Middleware Containers | see references |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | see references |
Weakness: CWE-837 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
References
- RHSA-2024:6493 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6494 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6495 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6497 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6499 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6500 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6501 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-4629 vdb-entry, x_refsource_REDHAT
- RHBZ#2276761 issue-tracking, x_refsource_REDHAT
- https://security.humanativaspa.it/an-analysis-of-the-keycloak-authentication-system/
- https://github.com/hnsecurity/vulns/blob/main/HNS-2024-09-Keycloak.md