Amenazas en vivo

Todas las CVE / Ws Project

CVE-2016-10518Ws Project Ws

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.0
7.5
EPSS
1.9%
probabilidad de explotación en 30 días · percentil 81
Requiere autenticación
No
Publicada
31 may 2018
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-201, CWE-119
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Qué pasa

A vulnerability was found in the ping functionality of the ws module before 1.0.0 which allowed clients to allocate memory by sending a ping frame. The ping functionality by default responds with a pong frame and the previously given payload of the ping frame. This is exactly what you expect, but internally ws always transforms all data that we need to send to a Buffer instance and that is where the vulnerability existed. ws didn't do any checks for the type of data it was sending. With buffers in node when you allocate it when a number instead of a string it will allocate the amount of bytes.

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 Ws.
  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 ws < 1.0.1 1.0.1 npm install ws@1.0.1

Según OSV / GitHub Advisories (GHSA-2mhh-w6q8-5hxw). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
ws_projectws< 1.0.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.