GitHub Advisory Database
GHSA-wq8x-cg39-8mrr
org.keycloak:keycloak-services has Inefficient Regular Expression Complexity
Details
A vulnerability was found in the Keycloak-services package. If untrusted data is passed to the SearchQueryUtils method, it could lead to a denial of service (DoS) scenario by exhausting system resources due to a Regex complexity.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | All versions before 24.0.9 (fixed in 24.0.9) |
| Maven | org.keycloak:keycloak-services | From 25.0.0 before 26.0.6 (fixed in 26.0.6) |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-wq8x-cg39-8mrr
- https://nvd.nist.gov/vuln/detail/CVE-2024-10270
- https://github.com/keycloak/keycloak/commit/5d6c91f3309db468b0fe4834e88c3d25649f73e4
- https://access.redhat.com/errata/RHSA-2024:10175
- https://access.redhat.com/errata/RHSA-2024:10176
- https://access.redhat.com/errata/RHSA-2024:10177
- https://access.redhat.com/errata/RHSA-2024:10178
- https://access.redhat.com/security/cve/CVE-2024-10270
- https://bugzilla.redhat.com/show_bug.cgi?id=2321214
- https://github.com/keycloak/keycloak