GHSA-W293-VG96-WGC3
undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 7.29.1 | undici · -25 d desde divulgación | |
| Remediación | Parche 8.10.2 | undici · -25 d desde divulgación | |
| Divulgación | Publicada | GHSA-W293-VG96-WGC3 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Impact
undici's `BalancedPool` passes its constructor options through a JSON-based deep clone (`JSON.parse(JSON.stringify(...))`) before forwarding them to each per-upstream `Pool`. JSON cannot represent functions, so a caller-supplied `connect` or `tls` option containing a `checkServerIdentity` callback (or a custom connector function) is silently dropped before it reaches the TLS layer. As a result, a TLS peer whose certificate a custom `checkServerIdentity` was written to reject, but which passes Node's default hostname and chain checks, is silently accepted when the request is made through `BalancedPool`. `Client`, `Pool`, `Agent`, and `RoundRobinPool` destructure `connect`/`tls` before the clone and are not affected. Only applications that use `BalancedPool` with a function-valued `connect`/`tls` option (such as a custom `checkServerIdentity` or connector) are affected.
Patches
Upgrade to `7.29.1` or `8.10.2`. `BalancedPool` now preserves the `connect` and `tls` options outside the JSON clone, so custom TLS verification callbacks are forwarded to each upstream unchanged.
Workarounds
Use `Client`, `Pool`, or `Agent` instead of `BalancedPool` for connections that rely on a custom `checkServerIdentity` or connector, until upgraded.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmundici |
Corregida | 7.29.1, 8.10.2 | -25 d · -25 d | 8.12.4 no afectada |
7.29.18.10.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2026-84961https://github.com/nodejs/undici/security/advisories/GHSA-w293-vg96-wgc3https://github.com/nodejs/undici/commit/8f5868fbdbc8f1146dfc1bcd1f2d117790141390https://github.com/nodejs/undici/commit/f690157d728508652fef14673630c71515123e96https://cna.openjsf.org/security-advisories.htmlhttps://github.com/nodejs/undicihttps://github.com/nodejs/undici/releases/tag/v7.29.1https://github.com/nodejs/undici/releases/tag/v8.10.2Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
