← Biblioteca de vulnerabilidades

CVE-2026-49457

Validación de certificados en erlang_quic

Crítica9.1Publicada 14 de ago de 2026 · Actualizada 18 de sept 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

  • No desactivar la verificación (verify=False, rejectUnauthorized: false, TrustAllCerts).
  • Comprobar el nombre del servidor y la cadena de confianza.
  • Aplicar la actualización del fabricante.

A qué afecta

  • benoitc · erlang_quic

    < 1.4.4

Qué es: Validación incorrecta de certificados

El programa acepta cualquier certificado en una conexión cifrada, y un atacante en la red se hace pasar por el servidor (ataque de intermediario).

Para «que funcione», se desactiva la verificación del certificado o no se comprueba que el nombre coincida. La conexión sigue viéndose cifrada, pero cualquiera en el camino (Wi-Fi pública, red comprometida) puede presentar su propio certificado y leer o cambiar todo.

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

Descripción oficial (en inglés)

erlang_quic is a pure Erlang QUIC implementation. Prior to version 1.4.4, the QUIC client did not authenticate the server during the TLS 1.3 handshake. The CertificateVerify signature was not checked, the certificate chain was not validated, and the hostname was not compared against the certificate, so `verify` was effectively a no-op on the client. A man-in-the-middle on the network path could present any certificate and impersonate any server, defeating the confidentiality and integrity of the connection. HTTP/3 uses the same client and was equally affected. Handshakes authenticated by a PSK (session resumption) are not affected, because the peer is authenticated by the PSK binder and no certificate is sent. This is fixed in 1.4.4. The client now verifies the CertificateVerify signature, validates the certificate chain against the trust store (`cacerts` option, the operating system store by default), and checks the hostname. Client `verify` now defaults to on; set `verify => false` to accept any certificate (for example a self-signed test server). No known workarounds are available before 1.4.4. `verify => true` had no effect, and inspecting the certificate after connecting does not help because without the signature check the peer is never proven to own the certificate it presents.