VULNERABILIDAD
CVE-2026-87018 Denegación de servicio en undici por renegociación TLS 1.2
En undici 4.2.1 a 6.29.0, 7.0.0 a 7.30.0 y 8.0.0 a 8.12.1, el proceso cliente se cae cuando un servidor TLS 1.2 renegocia tras establecer la conexión y presenta un certificado distinto confiado por la CA cuyo hostname no coincide con el solicitado. Node.js destruye el socket con un error de certificate-altname y el manejador de errores de undici lo trata como una aserción no capturada que termina el proceso, afectando las rutas HTTP/1.1 y HTTP/2. Un endpoint HTTPS malicioso o comprometido puede provocar la caída…
Alerta de Nureq Monitor
Detectada 15 OCT · 17:28
CVSS 3.1
7.5ALTAPROBABILIDAD DE EXPLOTACIÓN (EPSS)
0,2 % PERCENTIL 8
EXPLOTACIÓN ACTIVA
No confirmada
EXPLOIT PÚBLICO
No conocido
Qué es CVE-2026-87018
En undici 4.2.1 a 6.29.0, 7.0.0 a 7.30.0 y 8.0.0 a 8.12.1, el proceso cliente se cae cuando un servidor TLS 1.2 renegocia tras establecer la conexión y presenta un certificado distinto confiado por la CA cuyo hostname no coincide con el solicitado. Node.js destruye el socket con un error de certificate-altname y el manejador de errores de undici lo trata como una aserción no capturada que termina el proceso, afectando las rutas HTTP/1.1 y HTTP/2. Un endpoint HTTPS malicioso o comprometido puede provocar la caída…
Productos y versiones afectadas
undici
Qué hacer
- Verificá si usás undici y en qué versión: el rango afectado figura arriba.
- Actualizá a la versión corregida que indique el fabricante en su aviso (ver referencias) o aplicá la mitigación que publique.
- Revisá registros y accesos de los sistemas expuestos para descartar que se haya aprovechado antes de corregir.
Calculadora CVSS
CVSS 3.1 · 7.5 ALTA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- VECTOR DE ATAQUE (AV)
- Red
- COMPLEJIDAD DEL ATAQUE (AC)
- Baja
- PRIVILEGIOS REQUERIDOS (PR)
- Ninguno
- INTERACCIÓN DEL USUARIO (UI)
- Ninguna
- ALCANCE (S)
- Sin cambio
- CONFIDENCIALIDAD (C)
- Ninguna
- INTEGRIDAD (I)
- Ninguna
- DISPONIBILIDAD (A)
- Alta
Abrir la calculadora completa →
Descripción original
undici is an HTTP client library for Node.js. In versions 4.2.1 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, the client process crashes when a TLS 1.2 server renegotiates after the connection is established and presents a different, CA-trusted certificate whose hostname does not match the requested host. Node.js re-runs hostname verification on the renegotiated handshake and destroys the socket with a certificate-altname error, but undici's established-socket error handler asserted that this error code could never occur, so the peer-controlled error became an uncaught assertion that terminates the Node.js process, affecting both the HTTP/1.1 and HTTP/2 paths. A malicious or compromised HTTPS endpoint reached through undici or the global fetch() can crash the client with a single server-initiated renegotiation, taking down all in-flight requests and background work in the process, and exploitation needs no CA compromise because the attacker controls the endpoint and can present two ordinary valid certificates. Only TLS 1.2 is affected, since TLS 1.3 does not support renegotiation. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, and users should upgrade to one of those versions or later. As a workaround, restrict outbound connections to TLS 1.3 so renegotiation cannot occur, when the target endpoints support it.
Referencias
- github.com/nodejs/undici/security/advisories/GHSA-qrxm-fqhp-jwvm
- cna.openjsf.org/security-advisories.html
Historial de la alerta
- VULNERABILIDAD Nueva vulnerabilidad detectada.
CÓMO SE HIZOResumen traducido automáticamente al español a partir de la descripción original. Ante dudas, la descripción original y las referencias del fabricante son la fuente de verdad. Cómo funciona.