@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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-7228 @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.
Github GHSA Github GHSA GHSA-4pcg-wr6c-h9cq fastify/websocket vulnerable to uncaught exception via crash on malformed packet
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 23 Apr 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-23T16:39:54.047Z

Reserved: 2022-09-02T00:00:00.000Z

Link: CVE-2022-39386

cve-icon Vulnrichment

Updated: 2024-08-03T12:07:41.884Z

cve-icon NVD

Status : Modified

Published: 2022-11-08T22:15:15.953

Modified: 2024-11-21T07:18:11.297

Link: CVE-2022-39386

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.