CVE-2024-4629
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.
Description as published by the source, in English.
Key facts
- Published
- 2024-09-03
- Last modified
- 2026-06-17
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.8 %
higher than 53 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| org.keycloak | keycloak-services (Maven) | < 22.0.12 | Affected |
| org.keycloak | keycloak-services (Maven) | ≥ 23.0.0, < 24.0.7 | Affected |
| org.keycloak | keycloak-services (Maven) | ≥ 25.0.0, < 25.0.4 | Affected |
| Redhat | Build Of Keycloak | ≥ 22.0, < 22.012 | Affected |
| Redhat | Enterprise Linux | 7.0 | Not affected |
| Redhat | Enterprise Linux | 8.0 | Not affected |
| Redhat | Enterprise Linux | 9.0 | Not affected |
| Redhat | Keycloak | < 24.0.3 | Affected |
| Redhat | Openshift Container Platform | 4.11 | Affected |
| Redhat | Openshift Container Platform | 4.12 | Affected |
| Redhat | Openshift Container Platform For Linuxone | 4.10 | Affected |
| Redhat | Openshift Container Platform For Linuxone | 4.9 | Affected |
| Redhat | Openshift Container Platform For Power | 4.10 | Affected |
| Redhat | Openshift Container Platform For Power | 4.9 | Affected |
| Redhat | Openshift Container Platform Ibm Z Systems | 4.10 | Affected |
| Redhat | Openshift Container Platform Ibm Z Systems | 4.9 | Affected |
| Redhat | Single Sign-on | all versions listed | Affected |
| Redhat | Single Sign-on | ≥ 7.6, < 7.6.10 | Affected |
Weakness type
-
CWE-837: Improper Enforcement of a Single, Unique Action
The product requires that an actor should only be able to perform an action once, or to have only one unique action, but the product does not enforce or incorrectly enforces this restriction.
References
- https://access.redhat.com/errata/RHSA-2024:6493
- https://access.redhat.com/errata/RHSA-2024:6494
- https://access.redhat.com/errata/RHSA-2024:6495
- https://access.redhat.com/errata/RHSA-2024:6497
- https://access.redhat.com/errata/RHSA-2024:6499
- https://access.redhat.com/errata/RHSA-2024:6500
- https://access.redhat.com/errata/RHSA-2024:6501
- https://access.redhat.com/security/cve/CVE-2024-4629
- https://bugzilla.redhat.com/show_bug.cgi?id=2276761
- https://github.com/hnsecurity/vulns/blob/main/HNS-2024-09-Keycloak.md
- https://security.humanativaspa.it/an-analysis-of-the-keycloak-authentication-system/
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.