Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2023-2422

CVE-2023-2422: Keycloak vulnerable to Improper Client Certificate Validation for OAuth/OpenID clients

October 4, 2023 (updated November 9, 2023)

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.

References

  • github.com/advisories/GHSA-3qh5-qqj2-c78f
  • github.com/keycloak/keycloak/commit/5c6c55945a384bfd82e51283096204dcb6f63d91
  • github.com/keycloak/keycloak/security/advisories/GHSA-3qh5-qqj2-c78f

Code Behaviors & Features

Detect and mitigate CVE-2023-2422 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 21.1.2

Fixed versions

  • 21.1.2

Solution

Upgrade to version 21.1.2 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

maven/org.keycloak/keycloak-services/CVE-2023-2422.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.