Amenazas en vivo

Todas las CVE / Apache Software Foundation

CVE-2026-119078Apache Software Foundation Apache Commons Codec

Derivación de claves débil en Apache Commons Codec Blake3

Crítica 9.1 Sin autenticación

Prioridad
70
CVSS 3.1
9.1
EPSS
—
Requiere autenticación
No
Publicada
9 nov 2026
Actualizada
12 nov 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-684, CWE-1068
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Qué pasa

Apache Commons Codec versiones 1.16.0 a 1.22.x contienen un error en la clase Blake3 donde el método doFinalize no cambia el estado del hash, causando que llamadas consecutivas devuelvan el mismo resultado. Esto afecta a aplicaciones que derivan múltiples claves usando llamadas repetidas a doFinalize, resultando en claves idénticas en lugar de claves separadas. Un atacante podría explotar esto para comprometer la seguridad criptográfica de aplicaciones que dependen de esta funcionalidad.

Ver el texto original de NVD (en inglés)

Apache Commons Codec's Blake3 class documented the output of its doFinalize methods as depending on any previously finalized bytes, so that consecutive calls would return different output. In fact, doFinalize does not change the hash state: calling it again without supplying more input returns the same bytes. The key-derivation example in the class Javadoc, shipped since 1.16.0, derives two keys with two consecutive doFinalize calls. Code that follows it gets identical keys, so the separation between the derived keys is lost. The same applies to any application that calls doFinalize more than once on one instance and expects new output each time. This issue affects Apache Commons Codec from 1.16.0 before 1.23.0. Version 1.23.0 corrects the documentation, but the behavior of doFinalize is unchanged. Upgrading alone does not fix affected code. Users should check their applications for repeated doFinalize calls on the same Blake3 instance and derive multiple keys by requesting the combined length in one call and splitting the output, as the updated Javadoc shows.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 1.23.0

Actualiza Apache Commons Codec a versión 1.23.0 o posterior. Revisa tu código para detectar llamadas repetidas a doFinalize en la misma instancia Blake3 y refactoriza para solicitar la longitud combinada en una sola lla…

Aviso del fabricante · lists.apache.org ↗

  1. Aplica la actualización de seguridad del fabricante para Apache Commons Codec.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Boletines oficiales

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.