CVE-2024-10039
Keycloak mTLS Authentication Bypass via Reverse Proxy TLS Termination
Description
A vulnerability was found in Keycloak. Deployments of Keycloak with a reverse proxy not using pass-through termination of TLS, with mTLS enabled, are affected. This issue may allow an attacker on the local network to authenticate as any user or client that leverages mTLS as the authentication mechanism.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.keycloak » keycloak-core | < 26.0.6 | 26.0.6 |
Blast radius
72% of the dependent artifacts (1,154) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 14,084 |
| 2 hops | 19,331 |
| 3 hops | 14,992 |
| 4 hops | 4,284 |
| 5 hops | 2,682 |
| 6 hops | 639 |
Most used dependents
- org.keycloak » keycloak-services223 usages
- org.keycloak » keycloak-admin-client216 usages
- org.alfresco » alfresco-repository121 usages
- com.github.dasniko » testcontainers-keycloak113 usages
- org.keycloak » keycloak-authz-client98 usages
- org.keycloak » keycloak-spring-boot-starter93 usages
- org.alfresco » alfresco-remote-api67 usages
- org.keycloak » keycloak-model-jpa62 usages
- org.keycloak » keycloak-spring-security-adapter56 usages
- org.keycloak » keycloak-undertow-adapter48 usages
- org.commonjava.indy » indy-core43 usages
- city.smartb.i2 » keycloak-auth-client42 usages
- io.apicurio » apicurio-registry-common42 usages
- org.alfresco » share37 usages
- io.apicurio » apicurio-registry-utils-converter37 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Package | keycloak/keycloak | github.com |
| Web | keycloak/keycloak advisory GHSA-93ww-43rr-79v3 | github.com |
| Web | keycloak/keycloak issue #35217 | github.com |
