CVE-2022-39386

HIGH

@fastify/websocket - DoS

Title source: llm

Description

@fastify/websocket provides WebSocket support for Fastify. Any application using @fastify/websocket could crash if a specific, malformed packet is sent. All versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched. This has been patched in version 7.1.1 (fastify v4) and version 5.0.1 (fastify v3). There are currently no known workarounds. However, it should be possible to attach the error handler manually. The recommended path is upgrading to the patched versions.

Scores

CVSS v3 7.5
EPSS 0.0032
EPSS Percentile 54.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-248
Status published

Affected Products (4)

fastify/websocket < 7.1.1
fastify/websocket
fastify/websocket < 5.0.1npm
npm/fastify-websocket npm

Timeline

Published Nov 08, 2022
Tracked Since Feb 18, 2026