Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-39386

7.5 · HIGH
Published Nov 8, 2022 fastify CWE-248 EPSS 0.75% (52th pctl)

Overview

CVE-2022-39386 is a high-severity vulnerability affecting fastify websocket. It was published on November 8, 2022 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from fastify. Update websocket to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
fastify websocket >= 6.0.0, < 7.1.1 Affected

Frequently Asked Questions

What is CVE-2022-39386?

CVE-2022-39386 is a high-severity vulnerability affecting fastify websocket. It was published on November 8, 2022 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2022-39386?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-39386?

Check the references section for vendor advisories and patches from fastify. Update websocket to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-39386?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-39386 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.