CVE-2016-10518

EUVD-2019-0201
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 56%
Affected Products (NVD)
VendorProductVersion
ws_projectws
𝑥
< 1.0.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-ws
bookworm
8.11.0+~cs13.7.3-1
fixed
bullseye
7.4.2+~cs18.0.8-2
fixed
sid
8.18.0+~cs13.7.11-1
fixed
trixie
8.18.0+~cs13.7.11-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
node-ws
artful
ignored
bionic
not-affected
cosmic
not-affected
trusty
dne
xenial
Fixed 1.0.1+ds1.e6ddaae4-1
released