CVE-2016-10518Ws Project Ws
Alta 7.5 Sin autenticación
Seguir: esta CVE · Ws Project · Ws Project Ws Te avisamos por email o Slack (requiere cuenta).
- 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
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Ws.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Có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)
| Fabricante | Producto | Versiones |
|---|---|---|
| ws_project | ws | < 1.0.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- gist.github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- nodesecurity.io Third Party Advisory