SCA: security update for ws (GHSA-2mhh-w6q8-5hxw)

high Tenable Self-Hosted Container Security Plugin ID 422511

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2016-10518)

See Also

https://github.com/advisories/GHSA-2mhh-w6q8-5hxw

Plugin Details

Severity: High

ID: 422511

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 8/11/2025

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.6

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2016-10518

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/18/2019

Vulnerability Publication Date: 1/4/2016

Reference Information

CVE: CVE-2016-10518

cwe: CWE-201