HIGH 7.5
CVE-2017-2646
Keycloak vulnerable to infinite loop based Denial of Service
Description
When Keycloak versions prior to 2.5.5 receive a Logout request with an Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in an infinite loop. An attacker could use this flaw to conduct denial of service attacks.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.keycloak » keycloak-core | < 2.5.5 | 2.5.5 |
Blast radius
1affected artifacts
72affected versions
358dependent artifacts (est.)
5,817dependent versions
57% of the dependent artifacts (207) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,418 |
| 2 hops | 1,951 |
| 3 hops | 820 |
| 4 hops | 206 |
| 5 hops | 422 |
Most used dependents
- org.keycloak » keycloak-services223 usages
- org.keycloak » keycloak-admin-client216 usages
- org.keycloak » keycloak-authz-client98 usages
- org.keycloak » keycloak-model-jpa63 usages
- org.keycloak » keycloak-spring-security-adapter56 usages
- org.keycloak » keycloak-undertow-adapter48 usages
- org.keycloak » keycloak-servlet-filter-adapter34 usages
- org.commonjava.indy » indy-bindings-jaxrs31 usages
- org.keycloak » keycloak-model-infinispan29 usages
- eu.agrosense.api » session28 usages
- org.commonjava.indy » indy-subsys-jaxrs27 usages
- org.keycloak » keycloak-dependencies-server-all22 usages
- eu.agrosense.client » model22 usages
- org.keycloak » keycloak-jboss-adapter-core19 usages
- eu.agrosense.client » util-javafx19 usages
Computed from the dependency graph of build 20261126.1706 (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
| Advisory | NVD CVE-2017-2646 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-jc6q-27mw-p55w | github.com |
| Package | keycloak/keycloak | github.com |
