Skip to content

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

HighCVSS 7.5 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known

Description

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

Affected products

ProductAffected versionsFixed in
undici = < 6.24.0; 7.0.0 < 7.24.0 No fix listed
redhat cryostat < 4.2.0-9 4.2.0-9
redhat enterprise linux < 1:22.22.2-1.el10_1 1:22.22.2-1.el10_1
redhat enterprise linux < 1:24.14.1-2.el10_1 1:24.14.1-2.el10_1
redhat enterprise linux eus < 1:22.22.2-2.el10_0 1:22.22.2-2.el10_0
redhat enterprise linux < 8100020260331102257.6d880403 8100020260331102257.6d880403
redhat enterprise linux < 8100020260408131901.6d880403 8100020260408131901.6d880403
redhat enterprise linux < 9070020260401095228.rhel9 9070020260401095228.rhel9
redhat enterprise linux < 9070020260402152654.rhel9 9070020260402152654.rhel9
redhat rhel eus < 9060020260409121057.rhel9 9060020260409121057.rhel9
redhat cluster observability operator < 1782839279 1782839279
redhat cluster observability operator < 1782840539 1782840539
redhat cluster observability operator < 1782839996 1782839996
redhat rhdh < 1776784286 1776784286
redhat rhdh < 1777903262 1777903262
redhat openshift ai < 1774282136 1774282136
redhat openshift data foundation < 1786705347 1786705347
redhat openshift data foundation < 1786706101 1786706101
redhat openshift data foundation < 1786705558 1786705558
redhat openshift data foundation < 1786705646 1786705646
redhat openshift data foundation < 1786706138 1786706138
redhat openshift data foundation < 1786705741 1786705741
redhat openshift data foundation < 1786705777 1786705777
redhat openshift data foundation < 1786705802 1786705802
redhat openshift data foundation < 1786705938 1786705938
Show 136 more
ProductAffected versionsFixed in
redhat openshift data foundation < 1786706577 1786706577
redhat openshift data foundation < 1786706125 1786706125
redhat openshift data foundation < 1786706177 1786706177
redhat openshift data foundation < 1786706188 1786706188
redhat openshift data foundation < 1786706679 1786706679
redhat openshift data foundation < 1786706357 1786706357
redhat openshift data foundation < 1786706612 1786706612
redhat openshift data foundation < 1786706644 1786706644
redhat openshift data foundation < 1786706659 1786706659
redhat openshift data foundation < 1786706880 1786706880
redhat openshift devspaces < 1779814592 1779814592
redhat openshift pipelines < 1779910201 1779910201
redhat openshift lightspeed All versions No fix listed
redhat openshift pipelines All versions No fix listed
redhat rhdh All versions No fix listed
redhat jboss enterprise application platform = 8 No fix listed
redhat jbosseapxp All versions No fix listed
redhat openshift ai All versions No fix listed
redhat openshift devspaces = 3 No fix listed
redhat ansible portal All versions No fix listed
npm undici(npm) < 6.24.0 6.24.0
npm undici(npm) >= 7.0.0, < 7.24.0 7.24.0
debian/node-undici(Debian:12) All versions No fix listed
debian/node-undici(Debian:12) = 5.15.0+dfsg1+~cs20.10.9.3-1 No fix listed
debian/node-undici(Debian:12) = 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1 No fix listed
debian/node-undici(Debian:12) = 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u2 No fix listed
debian/node-undici(Debian:12) = 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 No fix listed
debian/node-undici(Debian:12) = 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 No fix listed
debian/node-undici(Debian:12) = 5.19.1+dfsg1+~cs20.10.9.5-1 No fix listed
debian/node-undici(Debian:12) = 5.19.1+dfsg1+~cs20.10.9.5-2 No fix listed
debian/node-undici(Debian:12) = 5.22.1+dfsg1+~cs20.10.10.2-1 No fix listed
debian/node-undici(Debian:12) = 5.26.3+dfsg1+~cs23.10.12-1 No fix listed
debian/node-undici(Debian:12) = 5.26.3+dfsg1+~cs23.10.12-2 No fix listed
debian/node-undici(Debian:12) = 5.26.3+dfsg1+~cs23.10.12-3 No fix listed
debian/node-undici(Debian:12) = 5.28.0+dfsg1+~cs23.11.12.3-1 No fix listed
debian/node-undici(Debian:12) = 5.28.0+dfsg1+~cs23.11.12.3-2 No fix listed
debian/node-undici(Debian:12) = 5.28.2+dfsg1+~cs23.11.12.3-1 No fix listed
debian/node-undici(Debian:12) = 5.28.2+dfsg1+~cs23.11.12.3-2 No fix listed
debian/node-undici(Debian:12) = 5.28.2+dfsg1+~cs23.11.12.3-3 No fix listed
debian/node-undici(Debian:12) = 5.28.2+dfsg1+~cs23.11.12.3-4 No fix listed
debian/node-undici(Debian:12) = 5.28.2+dfsg1+~cs23.11.12.3-5 No fix listed
debian/node-undici(Debian:12) = 5.28.2+dfsg1+~cs23.11.12.3-6 No fix listed
debian/node-undici(Debian:12) = 5.28.4+dfsg1+~cs23.12.11-1 No fix listed
debian/node-undici(Debian:12) = 5.28.4+dfsg1+~cs23.12.11-2 No fix listed
debian/node-undici(Debian:12) = 7.1.0+dfsg1+~cs24.12.10-1 No fix listed
debian/node-undici(Debian:12) = 7.15.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:12) = 7.15.0+dfsg+~cs3.2.0-3 No fix listed
debian/node-undici(Debian:12) = 7.16.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:12) = 7.16.0+dfsg+~cs3.2.0-2 No fix listed
debian/node-undici(Debian:12) = 7.18.2+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:12) = 7.2.3+dfsg1+~cs24.12.11-1 No fix listed
debian/node-undici(Debian:12) = 7.2.3+dfsg1+~cs24.12.11-2 No fix listed
debian/node-undici(Debian:12) = 7.24.5+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:12) = 7.24.6+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:12) = 7.24.6+dfsg+~cs3.2.0-2 No fix listed
debian/node-undici(Debian:12) = 7.24.6+dfsg+~cs3.2.0-3 No fix listed
debian/node-undici(Debian:12) = 7.3.0+dfsg1+~cs24.12.11-1 No fix listed
debian/node-undici(Debian:12) = 7.3.0+dfsg1+~cs24.12.11-2 No fix listed
debian/node-undici(Debian:12) = 8.10.2+dfsg+~cs3.2.2-1 No fix listed
debian/node-undici(Debian:12) = 8.5.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:12) = 8.5.0+dfsg+~cs3.2.0-2 No fix listed
debian/node-undici(Debian:12) = 8.5.0+dfsg+~cs3.2.0-3 No fix listed
debian/node-undici(Debian:12) = 8.9.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:13) All versions No fix listed
debian/node-undici(Debian:13) = 7.15.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:13) = 7.15.0+dfsg+~cs3.2.0-3 No fix listed
debian/node-undici(Debian:13) = 7.16.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:13) = 7.16.0+dfsg+~cs3.2.0-2 No fix listed
debian/node-undici(Debian:13) = 7.18.2+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:13) = 7.24.5+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:13) = 7.24.6+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:13) = 7.24.6+dfsg+~cs3.2.0-2 No fix listed
debian/node-undici(Debian:13) = 7.24.6+dfsg+~cs3.2.0-3 No fix listed
debian/node-undici(Debian:13) = 7.3.0+dfsg1+~cs24.12.11-1 No fix listed
debian/node-undici(Debian:13) = 7.3.0+dfsg1+~cs24.12.11-2 No fix listed
debian/node-undici(Debian:13) = 8.10.2+dfsg+~cs3.2.2-1 No fix listed
debian/node-undici(Debian:13) = 8.5.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:13) = 8.5.0+dfsg+~cs3.2.0-2 No fix listed
debian/node-undici(Debian:13) = 8.5.0+dfsg+~cs3.2.0-3 No fix listed
debian/node-undici(Debian:13) = 8.9.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:14) < 7.24.5+dfsg+~cs3.2.0-1 7.24.5+dfsg+~cs3.2.0-1
debian/node-undici(Debian:14) = 7.15.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:14) = 7.15.0+dfsg+~cs3.2.0-3 No fix listed
debian/node-undici(Debian:14) = 7.16.0+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:14) = 7.16.0+dfsg+~cs3.2.0-2 No fix listed
debian/node-undici(Debian:14) = 7.18.2+dfsg+~cs3.2.0-1 No fix listed
debian/node-undici(Debian:14) = 7.3.0+dfsg1+~cs24.12.11-1 No fix listed
debian/node-undici(Debian:14) = 7.3.0+dfsg1+~cs24.12.11-2 No fix listed
redhat/cryostat/cryostat-openshift-console-plugin-rhel9:4.2.0-9(Red Hat:cryostat:4::el9) All versions No fix listed
redhat/cryostat/cryostat-rhel9:4.2.0-9(Red Hat:cryostat:4::el9) All versions No fix listed
redhat/nodejs22(Red Hat:enterprise_linux:10.1) < 1:22.22.2-1.el10_1 1:22.22.2-1.el10_1
redhat/nodejs24(Red Hat:enterprise_linux:10.1) < 1:24.14.1-2.el10_1 1:24.14.1-2.el10_1
redhat/nodejs22(Red Hat:enterprise_linux_eus:10.0) < 1:22.22.2-2.el10_0 1:22.22.2-2.el10_0
redhat/nodejs:22-8100020260331102257.6d880403(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/nodejs:24-8100020260408131901.6d880403(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/nodejs:22-9070020260401095228.rhel9(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/nodejs:24-9070020260402152654.rhel9(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/nodejs:22-9060020260409121057.rhel9(Red Hat:rhel_eus:9.6) All versions No fix listed
redhat/cluster-observability-operator/logging-console-plugin-pf4-rhel9:1782839279(Red Hat:cluster_observability_operator:1.5::el9) All versions No fix listed
redhat/cluster-observability-operator/logging-console-plugin-pf5-rhel9:1782840539(Red Hat:cluster_observability_operator:1.5::el9) All versions No fix listed
redhat/cluster-observability-operator/troubleshooting-panel-console-plugin-pf6-rhel9:1782839996(Red Hat:cluster_observability_operator:1.5::el9) All versions No fix listed
redhat/rhdh/rhdh-hub-rhel9:1776784286(Red Hat:rhdh:1.8::el9) All versions No fix listed
redhat/rhdh/rhdh-hub-rhel9:1777903262(Red Hat:rhdh:1.9::el9) All versions No fix listed
redhat/rhoai/odh-dashboard-rhel8:1774282136(Red Hat:openshift_ai:2.16::el8) All versions No fix listed
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1790013905(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/odf4/cephcsi-rhel9:1786705347(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/cephcsi-rhel9-operator:1786706101(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/mcg-core-rhel9:1786705558(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/mcg-rhel9-operator:1786705646(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/ocs-client-console-rhel9:1786706138(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/ocs-client-rhel9-operator:1786705741(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/ocs-metrics-exporter-rhel9:1786705777(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/ocs-rhel9-operator:1786705802(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odf-cli-rhel9:1786705938(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odf-console-rhel9:1786706577(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odf-cosi-sidecar-rhel9:1786706125(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odf-csi-addons-rhel9-operator:1786706177(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odf-csi-addons-sidecar-rhel9:1786706188(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odf-multicluster-console-rhel9:1786706679(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odf-multicluster-rhel9-operator:1786706357(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odf-must-gather-rhel9:1786706612(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odf-rhel9-operator:1786706644(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/odr-rhel9-operator:1786706659(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/odf4/rook-ceph-rhel9-operator:1786706880(Red Hat:openshift_data_foundation:4.18::el9) All versions No fix listed
redhat/devspaces/code-rhel9:1779814592(Red Hat:openshift_devspaces:3.28::el9) All versions No fix listed
redhat/openshift-pipelines/pipelines-console-plugin-rhel9:1779910201(Red Hat:openshift_pipelines:1.20::el9) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-console-plugin-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-pipelines/pipelines-console-plugin-rhel8(Red Hat:openshift_pipelines:1) All versions No fix listed
redhat/rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processor(Red Hat:rhdh:1) All versions No fix listed
redhat/ansible-automation-platform/automation-portal(Red Hat:ansible_portal:2) All versions No fix listed
ubuntu/node-undici(Ubuntu:24.04) All versions No fix listed
ubuntu/node-undici(Ubuntu:26.04) All versions No fix listed
ubuntu/node-undici(Ubuntu:26.10) All versions No fix listed
nodejs undici < 6.24.0 6.24.0
nodejs undici >= 7.0.0, < 7.24.0 7.24.0

References