CVE-2019-3875
Improper Certificate Validation and Insufficient Verification of Data Authenticity in Keycloak
Description
A vulnerability was found in keycloak before 6.0.2. The X.509 authenticator supports the verification of client certificates through the CRL, where the CRL list can be obtained from the URL provided in the certificate itself (CDP) or through the separately configured path. The CRL are often available over the network through unsecured protocols ('http' or 'ldap') and hence the caller should verify the signature and possibly the certification path. Keycloak currently doesn't validate signatures on CRL, which can result in a possibility of various attacks like man-in-the-middle.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.keycloak » keycloak-core | <= 6.0.1 | - |
Blast radius
55% of the dependent artifacts (377) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,365 |
| 2 hops | 5,794 |
| 3 hops | 3,963 |
| 4 hops | 673 |
| 5 hops | 725 |
Most used dependents
- 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-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
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-2019-3875 | nvd.nist.gov |
| Web | show_bug.cgi | bugzilla.redhat.com |
