CVE-2025-2559

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.
Configurations

No configuration.

History

30 Apr 2025, 03:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:4336 -

29 Apr 2025, 23:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:4335 -

27 Mar 2025, 16:45

Type Values Removed Values Added
Summary
  • (es) Se detectó una falla en Keycloak. Cuando la configuración utiliza tokens JWT para la autenticación, estos se almacenan en caché hasta su vencimiento. Si un cliente utiliza tokens JWT con un tiempo de vencimiento demasiado largo, por ejemplo, 24 o 48 horas, la caché puede crecer indefinidamente, lo que genera un error de memoria (OutOfMemoryError). Este problema podría generar una condición de denegación de servicio, impidiendo que los usuarios legítimos accedan al sistema.

25 Mar 2025, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-25 09:15

Updated : 2025-04-30 03:15


NVD link : CVE-2025-2559

Mitre link : CVE-2025-2559

CVE.ORG link : CVE-2025-2559


JSON object : View

Products Affected

No product.

CWE
CWE-770

Allocation of Resources Without Limits or Throttling