CVE-2019-3875: Medium severity red hat keycloak vulnerability
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.
Other sources
A vulnerability was found in keycloak. 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.
References: https://issues.jboss.org/browse/KEYCLOAK-9846
Upstream patch:
https://github.com/keycloak/keycloak/commit/996389d61b1996ac6fe2ce2264fba0616f006055 https://github.com/keycloak/keycloak/commit/a48698caa32933458916980ab05256f56099a337 https://github.com/keycloak/keycloak/commit/db271f7150aae914a8f256ccb48e9d1dac9d7126
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2019-3875?
CVE-2019-3875 is a vulnerability found in Keycloak before version 6.0.2.
What is the severity of CVE-2019-3875?
CVE-2019-3875 has a severity rating of 6.5 (Medium).
How does CVE-2019-3875 affect Keycloak?
CVE-2019-3875 affects Keycloak versions before 6.0.2 and the X.509 authenticator component.
How can CVE-2019-3875 be fixed?
To fix CVE-2019-3875, upgrade Keycloak to version 6.0.2 or higher.
Where can I find more information about CVE-2019-3875?
You can find more information about CVE-2019-3875 at the following references: [link1](https://issues.jboss.org/browse/KEYCLOAK-9846), [link2](https://github.com/keycloak/keycloak/commit/996389d61b1996ac6fe2ce2264fba0616f006055), [link3](https://github.com/keycloak/keycloak/commit/a48698caa32933458916980ab05256f56099a337).