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


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (16th 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-CHAINGUARDLATEST-KEYCLOAKFIPS-6663391
  • 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 Chainguard keycloak-fips to version 24.0.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak-fips package and not the keycloak-fips package as distributed by Chainguard. See How to fix? for Chainguard 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