undici vulnerable to Denial of Service via WebSocketStream unclean close
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.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka npm | undici | >= 7.0.0, < 7.29.1, >= 8.0.0, < 8.10.2 | 7.29.1, 8.10.2 |
Odnośniki
- https://github.com/nodejs/undici/security/advisories/GHSA-rx4f-c7p8-82vq
- https://nvd.nist.gov/vuln/detail/CVE-2026-85014
- https://github.com/nodejs/undici/commit/1858656ebb1e919311c1f31613dfd581b7214349
- https://github.com/nodejs/undici/commit/662d0ea671fe64139e79533c913fce412765e1d7
- https://cna.openjsf.org/security-advisories.html
- https://github.com/nodejs/undici
- https://github.com/nodejs/undici/releases/tag/v7.29.1
- https://github.com/nodejs/undici/releases/tag/v8.10.2
- Wektor CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- Słabość (CWE)
CWE-248, CWE-754- Platforma
- npm
- Paczka
undici- Ujawniono
- 29.09.2026
- Aktualizacja
- 11.10.2026 10:22
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-rx4f-c7p8-82vq - CC BY 4.0
Historia podatności: undici
Wszystkie opisane podatności tej paczki (Paczka npm), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 46
- Pierwsza → ostatnia
- 06.2022 09.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 13
- Średnia 21
- Niska 12
Ujawnienia w latach
- 2022: 5
- 2023: 3
- 2024: 5
- 2025: 2
- 2026: 31
-
undici vulnerable to Denial of Service via WebSocketStream unclean close ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.