undicis WebSocket client crashes the whole Node.js process during the opening handshake when a server responds with a subprotocol that the client never requested. A default WebSocket connection sends no subprotocol, but if the servers 101 response includes a Sec-WebSocket-Protocol header, undici dereferences a null value while checking it against the requested list and throws an uncaught TypeError. Because that code runs inside a microtask with no surrounding error handling, the exception propagates and terminates the process under Nodes default behavior, instead of gracefully failing the connection as required by the WebSocket protocol. Any application that opens a WebSocket to an attacker-controlled or compromised server, or over a plaintext connection subject to a machine-in-the-middle, can be crashed remotely without authentication in the default configuration. This affects undici versions from 6.7.0 up to 6.28.1, from 7.0.0 up to 7.29.1, and from 8.0.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.
An exception is thrown from a function, but it is not caught.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Undici | Nodejs | 6.7.0 (including) | 6.28.1 (excluding) |
| Undici | Nodejs | 7.0.0 (including) | 7.29.1 (excluding) |
| Undici | Nodejs | 8.0.0 (including) | 8.10.2 (excluding) |
| Red Hat Enterprise Linux 10 | RedHat | nodejs24-1:24.21.0-1.el10_2 | * |
| Red Hat Enterprise Linux 10 | RedHat | nodejs22-1:22.23.2-3.el10_2 | * |
| Red Hat Enterprise Linux 10.0 Extended Update Support | RedHat | nodejs22-1:22.23.2-2.el10_0 | * |
| Red Hat Enterprise Linux 8 | RedHat | nodejs:24-8100020260921144227.6d880403 | * |
| Red Hat Enterprise Linux 8 | RedHat | nodejs:22-8100020260928121333.6d880403 | * |
| Red Hat Enterprise Linux 9 | RedHat | nodejs:24-9080020260921144317.rhel9 | * |
| Red Hat Enterprise Linux 9 | RedHat | nodejs:22-9080020260928121441.rhel9 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | nodejs:22-9060020261009101511.rhel9 | * |
| Cluster Observability Operator 1.5.3 | RedHat | cluster-observability-operator/logging-console-plugin-pf4-rhel9:1790854525 | * |
| Cluster Observability Operator 1.5.3 | RedHat | cluster-observability-operator/monitoring-console-plugin-pf5-rhel9:1790854526 | * |
| Cluster Observability Operator 1.5.3 | RedHat | cluster-observability-operator/monitoring-console-plugin-pf6-rhel9:1790854528 | * |
| Cluster Observability Operator 1.5.3 | RedHat | cluster-observability-operator/monitoring-console-plugin-rhel9:1790854525 | * |
| Red Hat Ansible Automation Platform 2.1 | RedHat | ansible-automation-platform/automation-portal:1790254963 | * |
| Red Hat Ansible Automation Platform 2.2 | RedHat | ansible-automation-platform/automation-portal:1790256405 | * |
| Red Hat Ansible Automation Platform 2.2 | RedHat | ansible-automation-platform/bootc-automation-portal-rhel9:1791865660 | * |
| Red Hat Developer Hub 1.10 | RedHat | rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1791242697 | * |
| Red Hat Developer Hub 1.10 | RedHat | rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282 | * |
| Red Hat Developer Hub 1.10 | RedHat | rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend-module-loki:1791250355 | * |
| Red Hat Developer Hub 1.10 | RedHat | rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator:1791249640 | * |
| Red Hat Developer Hub 1.10 | RedHat | rhdh/rhdh-hub-rhel9:1791311495 | * |
| Red Hat Developer Hub 1.9 | RedHat | rhdh/rhdh-hub-rhel9:1789554285 | * |
| Red Hat Hardened Images | RedHat | grafana12-4-main-12.4.10-0.2.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs26-main-11.19.1-1.26.8.2.0.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs26-main-26.8.2-0.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs24-main-11.19.0-1.24.21.0.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs24-main-24.21.0-1.hum1 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1791288400 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-dashboard-rhel9:1791861020 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-automl-rhel9:1791861032 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-autorag-rhel9:1791860994 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-eval-hub-rhel9:1791861214 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-gen-ai-rhel9:1791861479 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-maas-rhel9:1791860708 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-mlflow-rhel9:1791861383 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-model-registry-rhel9:1791860918 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1791788267 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1791825469 | * |
| Red Hat Openshift Data Foundation 4.19 | RedHat | odf4/odf-console-rhel9:1793126829 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/code-rhel9:1792599388 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/dashboard-rhel9:1791945540 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/openvsx-rhel9:1792494821 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/pluginregistry-rhel9:1792495212 | * |
| Node-undici | Ubuntu | upstream | * |