CVE-2020-1714
Improper Input Validation in Keycloak
Description
A flaw was found in Keycloak before version 11.0.0, where the code base contains usages of ObjectInputStream without type checks. This flaw allows an attacker to inject arbitrarily serialized Java Objects, which would then get deserialized in a privileged context and potentially lead to remote code execution.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.keycloak » keycloak-common | < 11.0.0 | 11.0.0 |
| org.keycloak » keycloak-core | < 11.0.0 | 11.0.0 |
Blast radius
99% of the dependent artifacts (791) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 11,570 |
| 2 hops | 15,825 |
| 3 hops | 9,809 |
| 4 hops | 5,228 |
| 5 hops | 1,699 |
| 6 hops | 990 |
Most used dependents
- org.keycloak » keycloak-core528 usages
- org.keycloak » keycloak-services223 usages
- org.keycloak » keycloak-admin-client216 usages
- org.alfresco » alfresco-repository121 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.alfresco » share37 usages
- io.quarkus » quarkus-oidc-deployment35 usages
- org.keycloak » keycloak-servlet-filter-adapter34 usages
- org.commonjava.indy » indy-bindings-jaxrs31 usages
- org.keycloak » keycloak-model-infinispan28 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
| Advisory | NVD CVE-2020-1714 | nvd.nist.gov |
| Package | keycloak/keycloak | github.com |
| Web | keycloak/keycloak pull request #7053 | github.com |
| Web | keycloak/keycloak commit 33863ba | github.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
