Amenazas en vivo

Todas las CVE / Fastify

CVE-2022-39386Fastify Websocket

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.1
7.5
EPSS
0.9%
probabilidad de explotación en 30 días · percentil 60
Requiere autenticación
No
Publicada
8 nov 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-248
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Qué pasa

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

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Websocket.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
npm @fastify/websocket ≥ 5.0.0 < 5.0.1 5.0.1 npm install @fastify/websocket@5.0.1
npm @fastify/websocket ≥ 6.0.0 < 7.1.1 7.1.1 npm install @fastify/websocket@7.1.1
npm fastify-websocket ≤ 4.3.0 sin versión corregida —

Según OSV / GitHub Advisories (GHSA-4pcg-wr6c-h9cq). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
fastifywebsocket≥ 6.0.0 < 7.1.1
fastifywebsocket5.0.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.