Vulnerability · Published Oct 4, 2023 · Assigned by redhat
CVE-2023-2422Keycloak: oauth client impersonation
Medium 5.5
In plain English
A medium-severity improper certificate validation in Red Hat Single Sign-On 7 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in Keycloak. A Keycloak server configured to support mTLS authentication for OAuth/OpenID clients does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client, therefore, access data that belongs to other clients.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 21.1.2 | GHSA-3qh5-qqj2-c78f |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Single Sign-On 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | see references |
| Red Hat | RHEL-8 based Middleware Containers | see references |
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
References
- RHSA-2023:3883 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:3884 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:3885 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:3888 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:3892 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-2422 vdb-entry, x_refsource_REDHAT
- RHBZ#2191668 issue-tracking, x_refsource_REDHAT