CVE-2025-2559: falha de média gravidade em keycloak
Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) in keycloak
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
13Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 4.9epss 0.7%
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 7CVEs relacionadas — keycloak
No mesmo produto, das mais perigosas para as menos.
CVE-2024-1635HIGHUndertow: out-of-memory error after several closed connections with wildfly-http-client protocolEPSS 4.6%CVE-2023-5685HIGHXnio: stackoverflowexception when the chain of notifier states becomes problematically bigEPSS 3.5%CVE-2024-3656HIGHKeycloak: unguarded admin rest api endpoints allows low privilege users to use administrative functionalitiesEPSS 3.3%CVE-2024-5971HIGHUndertow: response write hangs in case of java 17 tlsv1.3 newsessionticketEPSS 2.9%CVE-2024-7885HIGHUndertow: improper state management in proxy protocol parsing causes information leakageEPSS 2.6%CVE-2024-8883MEDIUMKeycloak: vulnerable redirect uri validation results in open redirecEPSS 2.1%
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