CVE-2024-4629Redhat Keycloak
Medium 6.5 No auth needed
Follow: this CVE · Redhat · Redhat Keycloak We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Sep 3, 2024
- Updated
- Nov 27, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-837
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Keycloak.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services |
< 22.0.12 |
22.0.12 |
— |
| Maven | org.keycloak:keycloak-services |
≥ 23.0.0 < 24.0.7 |
24.0.7 |
— |
| Maven | org.keycloak:keycloak-services |
≥ 25.0.0 < 25.0.4 |
25.0.4 |
— |
Per OSV / GitHub Advisories (GHSA-gc7q-jgjv-vjr2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | keycloak | < 24.0.3 |
| redhat | build_of_keycloak | ≥ 22.0 < 22.012 |
| redhat | single_sign-on | all |
| redhat | single_sign-on | ≥ 7.6 < 7.6.10 |
| redhat | openshift_container_platform | 4.11 |
| redhat | openshift_container_platform | 4.12 |
| redhat | openshift_container_platform_for_linuxone | 4.9 |
| redhat | openshift_container_platform_for_linuxone | 4.10 |
| redhat | openshift_container_platform_for_power | 4.9 |
| redhat | openshift_container_platform_for_power | 4.10 |
| redhat | openshift_container_platform_ibm_z_systems | 4.9 |
| redhat | openshift_container_platform_ibm_z_systems | 4.10 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com
- security.humanativaspa.it