p PatchFirst

CVE-2026-49852

CVE-2026-49852 · joserfc: HS256/HS384/HS512 verify accepts empty/nil HMAC key (cross-language sibling of CVE-2026-45363)

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.6.8, joserfc.jwt.decode accepts attacker-forged HMAC-signed tokens when the caller-supplied verification key is the empty string or None, because HMACAlgorithm.sign and HMACAlgorithm.verify in src/joserfc/_rfc7518/jws_algs.py pass the output of OctKey.get_op_key(...) to hmac.new(...) and OctKey.import_key in src/joserfc/_rfc7518/oct_key.py only emits a SecurityWarning for keys shorter than 14 bytes without rejecting zero-length input. This issue is fixed in version 1.6.8.

CVSS 8.7 · Alta · EPSS 0,2% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system · python

Productos y versiones afectados

  • joserfc

    Versiones
    • < 1.6.8: Afectada

    Sin corrección publicada

  • joserfc Debian:13

    Versiones
    • 1.1.0-1
    • 1.2.0-1
    • 1.2.2-1
    • 1.3.1-1
    • 1.3.2-1
    • 1.3.4-1
    • 1.4.0-1
    • 1.4.1-1
    • 1.4.3-1
    • 1.5.0-1
    • 1.6.0-1
    • 1.6.1-1
    • 1.6.2-1
    • 1.6.3-1
    • 1.6.4-1
    • 1.6.5-1
    • 1.6.8-1
    • 1.7.0-1
    • 1.7.1-1
    • 1.7.2-1
    • 1.7.3-1
    • 1.7.4-1
    • 1.7.5-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • joserfc Debian:14

    Versiones
    • 1.1.0-1
    • 1.2.0-1
    • 1.2.2-1
    • 1.3.1-1
    • 1.3.2-1
    • 1.3.4-1
    • 1.4.0-1
    • 1.4.1-1
    • 1.4.3-1
    • 1.5.0-1
    • 1.6.0-1
    • 1.6.1-1
    • 1.6.2-1
    • 1.6.3-1
    • 1.6.4-1
    • 1.6.5-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.6.8-1

    Actualiza a 1.6.8-1

  • joserfc PyPI

    Versiones
    • 0.1.0
    • 0.10.0
    • 0.11.0
    • 0.11.1
    • 0.12.0
    • 0.2.0
    • 0.3.0
    • 0.4.0
    • 0.5.0
    • 0.6.0
    • 0.7.0
    • 0.8.0
    • 0.9.0
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.1.0
    • 1.2.0
    • 1.2.1
    • 1.2.2
    • 1.3.0
    • 1.3.1
    • 1.3.2
    • 1.3.3
    • 1.3.4
    • 1.3.5
    • 1.4.0
    • 1.4.1
    • 1.4.2
    • 1.4.3
    • 1.5.0
    • 1.6.0
    • 1.6.1
    • 1.6.2
    • 1.6.3
    • 1.6.4
    • 1.6.5
    • 1.6.7
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.6.8

    Actualiza a 1.6.8

  • joserfc Ubuntu:26.04:LTS

    Versiones
    • 1.2.2-1
    • 1.4.0-1
    • 1.4.1-1
    • 1.4.3-1
    • 1.5.0-1
    • 1.6.2-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →