Keycloak-services: keycloak-services: login-failure upsert trusts mysql/mariadb affected-row count
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Keycloakkeycloak-services |
26.8.0 – 26.8.1→ Not listed |
Not listed |
| Red HatRed Hat Build of Keycloak | — | Not listed |
| Red HatRed Hat Single Sign-On 7 | — | Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
A flaw was found in the login-failure storage component of Keycloak, the identity and access management solution. This issue specifically affects deployments using MySQL or MariaDB databases in a multi-node configuration. When multiple failed login attempts occur simultaneously for the same account, a synchronization error can cause the system to enter a repetitive loop that locks the user's record in the database. This results in legitimate login attempts for that user being blocked and failing with an error. Furthermore, because some failures are not correctly recorded during this loop, the system's brute-force protection may not accurately count all failed attempts.
Source: Keycloak News NVD GitHub Advisory
References
- advisory access.redhat.com
- advisory nvd.nist.gov
- advisory github.com
- KEYCLOAK-BLOG Keycloak 26.8.2 released
- package github.com
- report bugzilla.redhat.com
- web github.com
- web access.redhat.com