4.9Media

CVE-2025-2559Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) in keycloak

keycloak; Red Hat Red Hat Build of Keycloak; Red Hat Red Hat build of Keycloak 26.0; Red Hat Red Hat Single Sign-On 7 Publicada: (hace 1 año)

Descripción

A flaw was found in Keycloak. When the configuration uses JWT tokens for authentication, the tokens are cached until expiration. If a client uses JWT tokens with an excessively long expiration time, for example, 24 or 48 hours, the cache can grow indefinitely, leading to an OutOfMemoryError. This issue could result in a denial of service condition, preventing legitimate users from accessing the system.

Debilidad (CWE): CWE-770

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
build keycloak 26.0 —
Red Hat Red Hat Build of Keycloak —
Red Hat Red Hat build of Keycloak 26.0 all versions
Red Hat Red Hat Single Sign-On 7 all versions
— keycloak 23.0.0 – < 26.0.11, 26.1.0 – < 26.1.5

Referencias y parches