GitHub Advisoryadvisory · Maven
GHSA-5cc8-pgp5-7mpm Keycloak Untrusted Certificate Validation vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2023-1664
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-295
- Reviewed
- 2023-06-30
Affected packages
• Maven org.keycloak:keycloak-core: < 21.1.2 → fixed in 21.1.2
Description
A flaw was found in keycloak-core. This flaw considers the scenario when using X509 Client Certificate Authenticatior with the option "Revalidate Client Certificate". A user may be able to choose, if directly connect to keycloak (not passing via reverse proxy) a specific certificate. If there's a configuration error in KC_SPI_TRUSTSTORE_FILE_FILE the authenticator allows even with the "Cannot validate client certificate trust: Truststore not available" message as there's no certificate to trust against.
Related
Alias · CVE (1)
- CVE-2023-1664 A flaw was found in Keycloak. vulnerability
Weakness · CWE (1)
- CWE-295 Improper Certificate Validation weakness
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5cc8-pgp5-7mpm web
- https://nvd.nist.gov/vuln/detail/CVE-2023-1664 advisory
- https://access.redhat.com/security/cve/CVE-2023-1664 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0 web
- https://github.com/keycloak/keycloak package