CVE-2026-53939OpenIDC cjose
Generación de clave de cifrado predecible en OpenIDC cjose
Crítica 9.1 Sin autenticación
Seguir: esta CVE · OpenIDC · OpenIDC cjose Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 9 sep 2026
- Actualizada
- 10 sep 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · 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
En cjose versiones 0.6.1 a 0.6.2.5, al cifrar JWE con algoritmos AES-CBC-HMAC, la clave de cifrado de contenido se genera como bytes cero en lugar de aleatoria. Un atacante sin autenticación puede obtener el JWE, recuperar el texto plano y falsificar o modificar el contenido. Se corrige en versión 0.6.2.6.
Ver el texto original de NVD (en inglés)
OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). In versions 0.6.1 through 0.6.2.5, when cjose encrypts a JWE using an AES-CBC-HMAC content-encryption algorithm (`A128CBC-HS256`, `A192CBC-HS384`, or `A256CBC-HS512`) together with any key-management algorithm that generates a fresh content-encryption key (CEK), the CEK is all zero bytes instead of being randomly generated. The resulting JWE is therefore encrypted and authenticated under a fixed, publicly known key, so anyone who obtains the JWE can recover the plaintext and forge or modify the content. This is fixed in version 0.6.2.6 by `_cjose_jwe_set_cek_aes_cbc()` generating the CEK from `RAND_bytes`. A regression test asserts that the `encrypted_key` differs across two encryptions for each AES-CBC-HMAC variant. Until upgrading, for data encrypted with cjose, three options are available. Use an AES-GCM `enc` (`A128GCM` / `A192GCM` / `A256GCM`) instead of an AES-CBC-HMAC `enc`, use `alg=dir` with a caller-supplied CEK, or avoid using cjose for JWE encryption with the affected algorithm pair. These are mitigations for new ciphertexts only; data already encrypted under the zero key remains compromised and should be re-encrypted (and any secrets it contained rotated).
Qué hacer
Hay parche · versiones corregidas: 0.6.2.6
Actualiza cjose a versión 0.6.2.6 o superior. Para datos ya cifrados con la clave cero, re-encripta usando AES-GCM o alg=dir, y rota cualquier secreto comprometido.
- Aplica la actualización de seguridad del fabricante para cjose.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados
- OpenIDC · cjose
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Red Hat Security Advisory: cjose security update · Red Hat · RHSA-2026:103380 · 25 nov 2026 Crítica
- Red Hat Security Advisory: cjose security update · Red Hat · RHSA-2026:98074 · 13 nov 2026 Crítica
- Red Hat Security Advisory: cjose security update · Red Hat · RHSA-2026:92155 · 13 nov 2026 Crítica
- Security update for cjose · SUSE · SUSE-SU-2026:23910-1 · 23 sep 2026 Crítica
- Security update for cjose · SUSE · openSUSE-SU-2026:21944-1 · 23 sep 2026 Crítica
- Security update for cjose · SUSE · SUSE-SU-2026:4253-1 · 17 sep 2026 Crítica
Además: Red Hat (+9), SUSE (+3)
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.