HIGH🇵🇱 Wersja polska

CVE-2016-10518

CVSS 7.5v3.0pub. 2018-05-31upd. 2024-11-21

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.

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

    APP
    Ws Project
    < 1.0.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-48779HIGH7.5ten sam produkt

ws is an open source WebSocket client and server for Node.js. All versions from 1.1.0 up to (but not including...

CVE-2016-10542HIGH7.5ten sam produkt

ws is a "simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, u...

CVE-2026-45736MEDIUM4.4ten sam produkt

ws is an open source WebSocket client and server for Node.js. Prior to 8.20.1, the websocket.close() implement...

CVE-2021-32640MEDIUM5.3ten sam produkt

ws is an open source WebSocket client and server library for Node.js. A specially crafted value of the `Sec-We...