Improper Certificate Validation Affecting org.keycloak:keycloak-services package, versions [,21.1.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-5750280
  • published2 Jul 2023
  • disclosed30 Jun 2023
  • creditUnknown

Introduced: 30 Jun 2023

CVE-2023-2422  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-services to version 21.1.2 or higher.

Overview

org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

Affected versions of this package are vulnerable to Improper Certificate Validation for OAuth/OpenID clients. 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 with a proper certificate can authorize itself as any other client and, therefore, access data belonging to other clients.

References

CVSS Scores

version 3.1