Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
— keycloak 24.0.3 —
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 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.16-1.redhat_00001.1.el7sso RHSA-2024:6495, RHSA-2024:6494, RHSA-2024:6493

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services < 22.0.12 22.0.12 GHSA-gc7q-jgjv-vjr2
Maven org.keycloak:keycloak-services >= 23.0.0, < 24.0.7 24.0.7 GHSA-gc7q-jgjv-vjr2
Maven org.keycloak:keycloak-services >= 25.0.0, < 25.0.4 25.0.4 GHSA-gc7q-jgjv-vjr2

Advisories 4

References