high7.1
CVE-2023-2422
Keycloak vulnerable to Improper Client Certificate Validation for OAuth/OpenID clients
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | < 21.1.2 | 21.1.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Keycloak | All versions |
| Redhat | Openshift Container Platform | Versions 4.9, 4.10, 4.11, 4.12 |
| Redhat | Single Sign-On | Version 7.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2023:3883
- https://access.redhat.com/errata/RHSA-2023:3884
- https://access.redhat.com/errata/RHSA-2023:3885
- https://access.redhat.com/errata/RHSA-2023:3888
- https://access.redhat.com/errata/RHSA-2023:3892
- https://access.redhat.com/security/cve/CVE-2023-2422
- https://bugzilla.redhat.com/show_bug.cgi?id=2191668
- https://github.com/advisories/GHSA-3qh5-qqj2-c78f
- https://github.com/keycloak/keycloak/security/advisories/GHSA-3qh5-qqj2-c78f
- https://github.com/keycloak/keycloak/commit/5c6c55945a384bfd82e51283096204dcb6f63d91
- https://nvd.nist.gov/vuln/detail/CVE-2023-2422