CVE-2016-10518CWE-201

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

published May 31, 2018

CVSS
—
EPSS
2%
Percentile
80.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01984 · 80.4th percentile
Weakness
CWE-201 · Insertion of Sensitive Information Into Sent Data
Published
2018-05-31T20:00Z
EPSS history
Timeline
  • 31 MAY 20:00Z
    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
    cvelistv5