CVE-2025-2559
Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) in keycloak
Vexday Risk Score
13Baixo
Decisão SSVC (CISA)
Track
Sem sinal de exploração → monitorar
CVSS 4.9EPSS 0.6%KEV nãoPoC —Nuclei —Metasploit —Patch referenciado
Ciclo de vida
25 mar 2025Publicada no NVD
Recomendação: Monitorar — sem sinal de exploração no momento.
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.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Produtos afetados
keycloakRed Hat · Red Hat Build of KeycloakRed Hat · Red Hat build of Keycloak 26.0Red Hat · Red Hat Single Sign-On 7Quer saber se a sua infraestrutura está exposta a isto?
Falar com a TrueHacking →Referências
https://access.redhat.com/errata/RHSA-2025:4335https://access.redhat.com/errata/RHSA-2025:4336https://access.redhat.com/security/cve/CVE-2025-2559https://bugzilla.redhat.com/show_bug.cgi?id=2353868https://github.com/keycloak/keycloak/commit/a10c8119d4452b866b90a9019b2cc159919276cahttps://github.com/keycloak/keycloak/issues/38576