CVE-2026-2229
undici is vulnerable to Unhandled Exception in undici WebSocket Client Due to Invalid server_max_window_bits Validation
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-2229 divulgada · CVSS 7.5 (CNA) | |
| Remediación | Parche 6.24.0 | undici · 0 d desde divulgación | |
| Remediación | Parche 7.24.0 | undici · 0 d desde divulgación | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
ImpactThe undici WebSocket client is vulnerable to a denial-of-service attack due to improper validation of the server_max_window_bits parameter in the permessage-deflate extension. When a WebSocket client connects to a server, it automatically advertises support for permessage-deflate compression. A malicious server can respond with an out-of-range server_max_window_bits value (outside zlib's valid range of 8-15). When the server subsequently sends a compressed frame, the client attempts to create a zlib InflateRaw instance with the invalid windowBits value, causing a synchronous RangeError exception that is not caught, resulting in immediate process termination. The vulnerability exists because: * The isValidClientWindowBits() function only validates that the value contains ASCII digits, not that it falls within the valid range 8-15 * The createInflateRaw() call is not wrapped in a try-catch block * The resulting exception propagates up through the call stack and crashes the Node.js process
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmundici |
Corregida | 6.24.0, 7.24.0 | 0 d · 0 d | 8.12.4 no afectada |
6.24.07.24.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://access.redhat.com/errata/RHSA-2026:17789https://access.redhat.com/errata/RHSA-2026:7310https://access.redhat.com/errata/RHSA-2026:7080https://access.redhat.com/errata/RHSA-2026:7675https://access.redhat.com/errata/RHSA-2026:7123https://access.redhat.com/errata/RHSA-2026:7670https://access.redhat.com/errata/RHSA-2026:7983https://github.com/nodejs/undici/security/advisories/GHSA-v9p9-hfj2-hcw8https://bugzilla.redhat.com/show_bug.cgi?id=2447143https://hackerone.com/reports/3487486https://cna.openjsf.org/security-advisories.htmlhttps://datatracker.ietf.org/doc/html/rfc7692Ver 3 referencias más
https://nodejs.org/api/zlib.html#class-zlibinflaterawhttps://access.redhat.com/security/cve/CVE-2026-2229https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2229.jsonLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
