Permissive Regular Expression Affecting keycloak package, versions <24.0.3-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (15th 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-WOLFILATEST-KEYCLOAK-6663726
  • published19 Apr 2024
  • disclosed25 Apr 2024

Introduced: 19 Apr 2024

CVE-2023-6544  (opens in a new tab)
CWE-625  (opens in a new tab)

How to fix?

Upgrade Wolfi keycloak to version 24.0.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak package and not the keycloak package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

A flaw was found in the Keycloak package. This issue occurs due to a permissive regular expression hardcoded for filtering which allows hosts to register a dynamic client. A malicious user with enough information about the environment could jeopardize an environment with this specific Dynamic Client Registration and TrustedDomain configuration previously unauthorized.

CVSS Scores

version 3.1