SCA: security update for @fastify/websocket (GHSA-4pcg-wr6c-h9cq)

high Tenable Cloud Security Plugin ID 410314

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- @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.
(CVE-2022-39386)

See Also

https://github.com/advisories/GHSA-4pcg-wr6c-h9cq

Plugin Details

Severity: High

ID: 410314

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2022-39386

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/7/2022

Vulnerability Publication Date: 11/7/2022

Reference Information

CVE: CVE-2022-39386

cwe: CWE-248