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 v7.1.1 (fastify v4) and v5.0.1 (fastify v3).
No known workaround is available. However, it should be possible to attach the error handler manually. The recommended path is upgrading to the patched versions.
marcolanaro for finding and patching this vulnerability
If you have any questions or comments about this advisory: * Open an issue in @fastify/websocket * Email us at hello@matteocollina.com
{ "github_reviewed": true, "cwe_ids": [ "CWE-248" ], "severity": "HIGH", "github_reviewed_at": "2022-11-07T21:13:57Z", "nvd_published_at": "2022-11-08T22:15:00Z" }