ADVISORIES

GitHub Advisory Database

GHSA-gc7q-jgjv-vjr2

Keycloak Services has a potential bypass of brute force protection

Details

If an attacker launches many login attempts in parallel then the attacker can have more guesses at a password than the brute force protection configuration permits. This is due to the brute force check occurring before the brute force protector has locked the user.

Acknowledgements: Special thanks to Maurizio Agazzini for reporting this issue and helping us improve our project.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions before 22.0.12 (fixed in 22.0.12)
Mavenorg.keycloak:keycloak-services
From 23.0.0 before 24.0.7 (fixed in 24.0.7)
Mavenorg.keycloak:keycloak-services
From 25.0.0 before 25.0.4 (fixed in 25.0.4)

References