7.5Hoch

CVE-2026-2229undici is vulnerable to Unhandled Exception in undici WebSocket Client Due to Invalid server_max_window_bits Validation

undici undici; Red Hat Cryostat 4 on RHEL 9; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support Veröffentlicht: (vor 8 Monaten)

Beschreibung

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

Schwachstellentyp (CWE): CWE-248CWE-1284

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
cluster observability operator 1.5 —
cryostat 4 —
nodejs undici < 6.24.0
openshift ai 2.16 —
openshift data foundation 4.18 —
openshift devspaces 3.28 —
openshift pipelines 1.20 —
Red Hat Cluster Observability Operator 1.5.0 all versions
Red Hat Cryostat 4 on RHEL 9 all versions
Red Hat OpenShift Lightspeed all versions
Red Hat OpenShift Pipelines all versions
Red Hat Red Hat Developer Hub all versions
Red Hat Red Hat Developer Hub 1.8 all versions
Red Hat Red Hat Developer Hub 1.9 all versions
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support all versions
Red Hat Red Hat JBoss Enterprise Application Platform 8 —
Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack —
Red Hat Red Hat OpenShift AI 2.16 all versions
Red Hat Red Hat OpenShift AI (RHOAI) all versions
Red Hat Red Hat Openshift Data Foundation 4.18 all versions
Red Hat Red Hat OpenShift Dev Spaces —
Red Hat Red Hat OpenShift Dev Spaces 3.28 all versions
Red Hat Red Hat OpenShift Pipelines 1.2 all versions
Red Hat Self-service automation portal 2 all versions
rhdh 1.8 —
rhdh 1.9 —
undici undici < 6.24.0; 7.0.0 < 7.24.0, fixed 6.24.0: 7.24.0

Referenzen und Patches

CPE-Treffer (NVD) (2)

  • cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* < 6.24.0
  • cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* ≥ 7.0.0 < 7.24.0