llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · undici

GHSA-QRXM-FQHP-JWVM

undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versionesPrimer parche a -12 d de la divulgación
Exposición23 dDesde la divulgación, 27 oct 2026, 2:02 p. m.
Detección20 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 6.29.1 +2
Monitoreo
Detectada
15 oct 26
27 oct 26
17 nov 26
19 nov 26
15 oct 26
24 oct 26
2 nov 26
11 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 6.29.1 undici · -12 d desde divulgación
Remediación Parche 7.30.1 undici · -12 d desde divulgación
Remediación Parche 8.12.2 undici · -12 d desde divulgación
Divulgación Publicada GHSA-QRXM-FQHP-JWVM divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Impact

undici crashes the client process 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 `ERR_TLS_CERT_ALTNAME_INVALID`. undici's established socket error handler asserted that this error code could never occur, so the peer-controlled error became an uncaught `AssertionError` that terminates the Node.js process. Both the HTTP/1.1 and HTTP/2 paths are affected.

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. Only TLS 1.2 is affected, because TLS 1.3 does not support renegotiation. Exploitation does not require a CA compromise: the attacker controls the endpoint and can present two ordinary valid certificates, the first matching the requested URL and the second intentionally not matching it.

Patches

Upgrade to undici 6.29.1, 7.30.1, or 8.12.2.

Workarounds

Restrict outbound connections to TLS 1.3, for example by setting `connect: { minVersion: 'TLSv1.3', maxVersion: 'TLSv1.3' }` on the client or agent, so that renegotiation cannot occur, when the target endpoints support TLS 1.3.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida Última
undici≥ 4.2.1 < 6.29.1
undici≥ 7.0.0 < 7.30.1
undici≥ 8.0.0 < 8.12.2
4.2.1
6.29.1
7.0.0
7.30.1
8.0.0
8.12.2
8.12.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmundici
Corregida 6.29.1, 7.30.1, 8.12.2 -12 d · -12 d · -12 d 8.12.4 no afectada
Versiones corregidas6.29.17.30.18.12.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-87018
Otrahttps://github.com/nodejs/undici/security/advisories/GHSA-qrxm-fqhp-jwvm
Otrahttps://github.com/nodejs/undici/commit/12cfd96c3f430897656e3edc1c5e02be8c1cd309
Otrahttps://github.com/nodejs/undici/commit/b40fbfc0651703cf9fa9f6ced68b679f28d8bb28
Otrahttps://github.com/nodejs/undici/commit/e257e9f8fb42eedd50727b9cf65e548c8925e4a8
Otrahttps://cna.openjsf.org/security-advisories.html
Otrahttps://github.com/nodejs/undici
Otrahttps://github.com/nodejs/undici/releases/tag/v6.29.1
Otrahttps://github.com/nodejs/undici/releases/tag/v7.30.1
Otrahttps://github.com/nodejs/undici/releases/tag/v8.12.2

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.