GHSA-RX4F-C7P8-82VQ
undici vulnerable to Denial of Service via WebSocketStream unclean close
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-RX4F-C7P8-82VQ divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Impact
undici's `WebSocketStream` crashes the client process when a WebSocket connection is closed abruptly without a close handshake. On such an unclean close, the internal socket-close handler calls `abort()` on the writable stream even when the application holds a writer lock. Per the WHATWG Streams standard, aborting a locked stream returns a promise that rejects with a `TypeError`, and the handler discards that promise. The unobserved rejection surfaces as an `unhandledRejection` and, under Node.js's default behavior, terminates the process.
A malicious or compromised WebSocket server can crash a client with a single connection teardown (a TCP reset, a proxy teardown, or a protocol-violating frame). Affected applications are those using the `WebSocketStream` API and writing through a writer, which is the standard way to write.
All releases from undici 7.0.0 are affected. WebSocketStream was introduced in 7.0.0.
Patches
Upgrade to undici v7.29.1 or v8.10.2.
Workarounds
No workaround is available.
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-85014https://github.com/nodejs/undici/security/advisories/GHSA-rx4f-c7p8-82vqhttps://github.com/nodejs/undici/commit/1858656ebb1e919311c1f31613dfd581b7214349https://github.com/nodejs/undici/commit/662d0ea671fe64139e79533c913fce412765e1d7https://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.
