Skip to content
Fencer Vulns
medium 6.5

CVE-2024-4629 json

Keycloak: potential bypass of brute force protection

published 2024-09-03 2 y ago modified 2026-09-10 1 mo ago also BIT-keycloak-2024-4629 , EUVD-2024-2798 , GHSA-gc7q-jgjv-vjr2

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 56%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.keycloak:keycloak-services 22.0.12, 24.0.7, 25.0.4
  • bitnami keycloak 22.12.0
  • Red Hat Red Hat build of Keycloak 22 22-17, 22-20, 22.0.12-1
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 0:18.0.16-1.redhat_00001.1.el7sso
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 0:18.0.16-1.redhat_00001.1.el8sso
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 0:18.0.16-1.redhat_00001.1.el9sso
  • Red Hat RHEL-8 based Middleware Containers 7.6-52
  • rh-sso7-keycloak red hat single sign on 7.6 18.0.16-1.redhat_00001.1.el8sso
  • rh-sso7-keycloak-server red hat single sign on 7.6 18.0.16-1.redhat_00001.1.el8sso
  • rh-sso7-keycloak red hat single sign on 7.6 18.0.16-1.redhat_00001.1.el9sso
  • rh-sso7-keycloak-server red hat single sign on 7.6 18.0.16-1.redhat_00001.1.el9sso
  • rh-sso7-keycloak red hat single sign on 7.6 18.0.16-1.redhat_00001.1.el7sso
  • rh-sso7-keycloak-server red hat single sign on 7.6 18.0.16-1.redhat_00001.1.el7sso

red hat advisories RHSA-2024:6494RHSA-2024:6495RHSA-2024:6493

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-4629 updated cvss 6.5

keycloak: potential bypass of brute force protection

  • Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-52
    fixed: vendor fix RHSA-2024:6497
  • Red Hat Build of Keycloak
    fixed: vendor fix RHSA-2024:6501
  • Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 22-17, rhbk/keycloak-rhel9-operator 22-20, rhbk/keycloak-operator-bundle 22.0.12-1
    fixed: vendor fix RHSA-2024:6500
  • Red Hat Single Sign-On 7
    fixed: vendor fix RHSA-2024:6499
  • Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.16-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.16-1.redhat_00001.1.el7sso
    fixed: vendor fix RHSA-2024:6493
  • Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.16-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.16-1.redhat_00001.1.el8sso
    fixed: vendor fix RHSA-2024:6494
  • Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.16-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.16-1.redhat_00001.1.el9sso
    fixed: vendor fix RHSA-2024:6495
  • Red Hat JBoss Enterprise Application Platform 8 org.keycloak-keycloak-parent org.keycloak-keycloak-parent
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.keycloak:keycloak-services
<22.0.12
>=23.0.0, <24.0.7
>=25.0.0, <25.0.4
22.0.12
24.0.7
25.0.4
bitnami keycloak
>=22.0.0, <22.12.0
22.12.0

Affected products

  • Red Hat Red Hat Build of Keycloak
  • Red Hat Red Hat build of Keycloak 22
  • Red Hat Red Hat Single Sign-On 7
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 7
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 8
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 9
  • Red Hat RHEL-8 based Middleware Containers
  • Red Hat Red Hat JBoss Enterprise Application Platform 8

Classification

Weakness
  • CWE-837 Improper Enforcement of a Single, Unique Action
  • CWE-307 Improper Restriction of Excessive Authentication Attempts

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.