Keycloak: potential bypass of brute force protection

Summary

CVECVE-2024-4629
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-09-03 20:15:09 UTC
Updated2026-11-27 04:16:39 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 6.5 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Problem Types: CWE-837 | CWE-837 Improper Enforcement of a Single, Unique Action


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
3.1[email protected]Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
3.1CNACVSS6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Build Of Keycloak All All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All
Application Redhat Keycloak All All All All
Application Redhat Openshift Container Platform 4.11 All All All
Application Redhat Openshift Container Platform 4.12 All All All
Application Redhat Openshift Container Platform For Linuxone 4.10 All All All
Application Redhat Openshift Container Platform For Linuxone 4.9 All All All
Application Redhat Openshift Container Platform For Power 4.10 All All All
Application Redhat Openshift Container Platform For Power 4.9 All All All
Application Redhat Openshift Container Platform Ibm Z Systems 4.10 All All All
Application Redhat Openshift Container Platform Ibm Z Systems 4.9 All All All
Application Redhat Single Sign-on All All All All
Application Redhat Single Sign-on - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Build Of Keycloak Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22.0.12-1 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22-17 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22-20 * rpm Not specified
CNA Red Hat Red Hat Single Sign-On 7 Not specified Not specified
CNA Red Hat Red Hat Single Sign-On 7.6 For RHEL 7 unaffected 0:18.0.16-1.redhat_00001.1.el7sso * rpm Not specified
CNA Red Hat Red Hat Single Sign-On 7.6 For RHEL 8 unaffected 0:18.0.16-1.redhat_00001.1.el8sso * rpm Not specified
CNA Red Hat Red Hat Single Sign-On 7.6 For RHEL 9 unaffected 0:18.0.16-1.redhat_00001.1.el9sso * rpm Not specified
CNA Red Hat RHEL-8 Based Middleware Containers unaffected 7.6-52 * rpm Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform 8 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2024:6495 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:6501 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/security/cve/CVE-2024-4629 [email protected] access.redhat.com Vendor Advisory
github.com/hnsecurity/vulns/blob/main/HNS-2024-09-Keycloak.md af854a3a-2127-422b-91ae-364da2661108 github.com
access.redhat.com/errata/RHSA-2024:6493 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:6497 [email protected] access.redhat.com Vendor Advisory
security.humanativaspa.it/an-analysis-of-the-keycloak-authentication-system af854a3a-2127-422b-91ae-364da2661108 security.humanativaspa.it
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com Issue Tracking, Vendor Advisory
access.redhat.com/errata/RHSA-2024:6494 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:6500 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:6499 [email protected] access.redhat.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2024-04-23T00:00:00.000ZReported to Red Hat.
CNA2024-09-03T19:38:00.000ZMade public.

Workarounds

CNA: 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report