HIGH7.1
GHSA-3qh5-qqj2-c78f
Keycloak vulnerable to Improper Client Certificate Validation for OAuth/OpenID clients
Quick fix
GHSA-3qh5-qqj2-c78f — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.
# pom.xml: bump <version>21.1.2</version> for org.keycloak:keycloak-servicesDetails
When a Keycloak server is configured to support mTLS authentication for OAuth/OpenID clients, it does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client and therefore access data that belongs to other clients.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-services
Introduced in:
0Fixed in: 21.1.2Fix
# pom.xml: bump <version>21.1.2</version> for org.keycloak:keycloak-servicesReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-3qh5-qqj2-c78f[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-2422[ADVISORY]
- https://github.com/keycloak/keycloak/commit/5c6c55945a384bfd82e51283096204dcb6f63d91[WEB]
- https://access.redhat.com/errata/RHSA-2023:3883[WEB]
- https://access.redhat.com/errata/RHSA-2023:3884[WEB]
- https://access.redhat.com/errata/RHSA-2023:3885[WEB]
- https://access.redhat.com/errata/RHSA-2023:3888[WEB]
- https://access.redhat.com/errata/RHSA-2023:3892[WEB]
- https://access.redhat.com/security/cve/CVE-2023-2422[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2191668[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]