← Biblioteca de vulnerabilidades

CVE-2026-135388

Criptografía débil en dtls

Crítica9.1Publicada 24 de nov de 2026 · Actualizada 24 de nov de 2026

En resumen

Un atacante remoto, sin usuario ni contraseña, podría modificar información o el sistema sin que nadie haga nada.

Cómo se ataca

  • Se puede atacar por la red, incluso desde internet si el servicio está expuesto.
  • No requiere condiciones especiales: el ataque se puede repetir de forma confiable.
  • No necesita usuario ni contraseña.
  • No necesita que nadie haga nada: ni abrir un archivo ni hacer clic.

Qué puede lograr el atacante

  • Leer información confidencial: datos, archivos o credenciales.
  • Modificar información o el sistema; en los casos graves, ejecutar sus propios programas.

Cómo corregirla

  1. Revise si usa alguno de los productos y versiones de la lista «A qué afecta».
  2. Aplique la actualización o la mitigación que indica el fabricante.
  3. Si no puede actualizar ya, reduzca la exposición: que el servicio no sea accesible desde internet, o desactive la función afectada.
  4. Como pudo explotarse antes de corregirla, revise los registros del equipo en busca de accesos o cambios extraños.

Recomendaciones para este tipo de fallo

  • Usar algoritmos vigentes: AES-GCM, ChaCha20-Poly1305, RSA de 2048 bits o más, curvas elípticas modernas, SHA-256 o superior.
  • Usar generadores aleatorios criptográficos (crypto.randomBytes, secrets, SecureRandom).
  • Verificar siempre firmas con el algoritmo esperado fijado en el servidor.
  • Actualizar las bibliotecas de cifrado.

A qué afecta

  • pion · dtls

    >= 3.0.0, < 3.1.13; >= 2.0.0, <= 2.2.12

Qué es: Cifrado débil, mal usado o firmas sin verificar

El sistema usa algoritmos rotos, llaves cortas, números aleatorios predecibles o no verifica bien las firmas, y el cifrado deja de proteger.

DES, RC4, MD5 o SHA-1 se pueden romper; un generador de números aleatorios común (no criptográfico) permite predecir tokens; una firma que no se verifica, o que acepta el algoritmo «none», deja falsificar tokens de sesión o actualizaciones.

Guía completa: dónde aparece, cómo se corrige y qué evitar

Descripción oficial (en inglés)

Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.0.0 until 3.1.13, the implementation selected signature verification based on the certificate public key while deriving the digest from the peer-controlled signature scheme without validating that the scheme, key type, and hash requirements were consistent. The affected verification functions are verifyKeySignature for ServerKeyExchange and verifyCertificateVerify for CertificateVerify. An unauthenticated network attacker who can redirect a DTLS handshake and obtain the genuine peer certificate can submit crafted handshake signatures that are accepted without possession of the certificate private key. This can let the attacker impersonate the peer and compromise the confidentiality and integrity of protected traffic; checking a WebRTC SDP certificate fingerprint does not prevent the attack because the genuine certificate is presented. The issue is fixed in version 3.1.13.