Public vulnerability disclosure

CVE-2024-4629

Keycloak: potential bypass of brute force protection

publishedCWE-837

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.

Technical severity6.5 mediumCVSS 3.1 · CNA: redhat
Published2024-09-03Source updated 2026-11-27
Collected2026-11-272 attributed sources

Fixes and workarounds

Workaround

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


keycloak
https://github.com/keycloak/keycloak
24.0.3 (affected) CNA: redhat
Red Hat Build of Keycloak
Red Hat
keycloak-parent
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat build of Keycloak 22
Red Hat
rhbk/keycloak-operator-bundle
https://catalog.redhat.com/software/containers/
≥ 22.0.12-1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 22
Red Hat
rhbk/keycloak-rhel9
https://catalog.redhat.com/software/containers/
≥ 22-17; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 22
Red Hat
rhbk/keycloak-rhel9-operator
https://catalog.redhat.com/software/containers/
≥ 22-20; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Single Sign-On 7
Red Hat
keycloak-parent
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Single Sign-On 7.6 for RHEL 7
Red Hat
rh-sso7-keycloak
https://access.redhat.com/downloads/content/package-browser/
≥ 0:18.0.16-1.redhat_00001.1.el7sso; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Single Sign-On 7.6 for RHEL 8
Red Hat
rh-sso7-keycloak
https://access.redhat.com/downloads/content/package-browser/
≥ 0:18.0.16-1.redhat_00001.1.el8sso; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Single Sign-On 7.6 for RHEL 9
Red Hat
rh-sso7-keycloak
https://access.redhat.com/downloads/content/package-browser/
≥ 0:18.0.16-1.redhat_00001.1.el9sso; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rh-sso-7/sso76-openshift-rhel8
https://catalog.redhat.com/software/containers/
≥ 7.6-52; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat JBoss Enterprise Application Platform 8
Red Hat
keycloak-parent
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html
Range not reported
Other versions: unaffected
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 6.5
medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NCNA: redhat

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide