Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 8.2CVE-2026-137564

CVE-2026-137564: web-token jwt-framework before 3.4.13 Missing Key Size Check in Direct Encryption

web-token jwt-library

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-137564: vulnerabilidad de severidad alta (CVSS 8.2) en web-token jwt-library.

Qué ocurre

Descripción original de la fuente (en inglés): web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 (and jwt-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for direct (dir) encryption, so undersized keys are zero-padded. Anyone holding a token issued with a half-size AES-CBC-HMAC key can decrypt it, and an empty key also allows forging tokens the decrypter accepts.

Por qué importa

Severidad alta, CVSS 8.2.

Productos y versiones afectados

web-token jwt-library < 3.4.13; web-token jwt-library 3.4.13 (corregido en 3.4.13); web-token jwt-library >= 4.0.0, < 4.0.9; web-token jwt-library 4.0.9 (corregido en 4.0.9); web-token jwt-library >= 4.1.0, < 4.1.11; web-token jwt-library 4.1.11 (corregido en 4.1.11); web-token jwt-library >= 4.2.0, < 4.2.6; web-token jwt-library 4.2.6 (corregido en 4.2.6); web-token jwt-framework < 3.4.13; web-token jwt-framework 3.4.13 (corregido en 3.4.13); web-token jwt-framework >= 4.0.0, < 4.0.9; web-token jwt-framework 4.0.9 (corregido en 4.0.9)

ProductoVersionesCorregido en
web-token jwt-library< 3.4.13—
web-token jwt-library3.4.133.4.13
web-token jwt-library>= 4.0.0, < 4.0.9—
web-token jwt-library4.0.94.0.9
web-token jwt-library>= 4.1.0, < 4.1.11—
web-token jwt-library4.1.114.1.11
web-token jwt-library>= 4.2.0, < 4.2.6—
web-token jwt-library4.2.64.2.6
web-token jwt-framework< 3.4.13—
web-token jwt-framework3.4.133.4.13
web-token jwt-framework>= 4.0.0, < 4.0.9—
web-token jwt-framework4.0.94.0.9
web-token jwt-framework>= 4.1.0, < 4.1.11—
web-token jwt-framework4.1.114.1.11
web-token jwt-framework>= 4.2.0, < 4.2.6—
web-token jwt-framework4.2.64.2.6
web-token jwt-encryption<= 3.2.10—

Acción recomendada por la fuente

Actualizar a una versión corregida: 3.4.13, 4.0.9, 4.1.11, 4.2.6.

Corregido en: 3.4.13, 4.0.9, 4.1.11, 4.2.6

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-326

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.