VDB
Sign up
MEDIUM5.3

GHSA-cpf7-j4cf-vqx4

Keycloak has an Out-of-bounds Read

Quick fix

GHSA-cpf7-j4cf-vqx4 — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.

# pom.xml: bump <version>26.6.3</version> for org.keycloak:keycloak-services

Details

A flaw was found in Keycloak's ClientRegistrationAuth component. A remote unauthenticated attacker can exploit this vulnerability by sending a specially crafted POST request with a malformed 'Authorization: Bearer' header to any client registration endpoint. This can lead to an ArrayIndexOutOfBoundsException, causing the server to return an HTTP 500 error and resulting in a Denial of Service (DoS) for the affected service.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-services
Introduced in: 0

No fixed version published yet for org.keycloak:keycloak-services (maven). Pin to a known-safe version or switch to an alternative.

Maven/org.keycloak:keycloak-services
Introduced in: 26.5.0Fixed in: 26.6.3
Fix# pom.xml: bump <version>26.6.3</version> for org.keycloak:keycloak-services

References