7.5

CVE-2016-10518: hackerone ws node module

CVSS: 7.5v3.0HighModified
AliasesUBUNTU-CVE-2016-10518DEBIAN-CVE-2016-10518GHSA-2mhh-w6q8-5hxw
Published 31-05-2018Last modified 17-09-2024

Vulnerability summary

CVE-2016-10518 is a high (CVSS 7.5) vulnerability in hackerone ws node module. EPSS estimates a 1.98% chance of exploitation in the next 30 days, higher than 80.2% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
1.98%
0%100%
Low · -0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 31-05-2018
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

Description

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 metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.98%

Chance of exploitation in the next 30 days

Percentile

80%

Versus all other CVEs

30-day change

-0.03 pp

From 2.02% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.98%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • node-ws< 1.0.1+ds1.e6ddaae4-1
Hackerone1 product
Npm1 product
  • ws< 1.0.1
Ubuntu1 product
  • node-ws< 1.0.1+ds1.e6ddaae4-1
Ws_project1 product

5 vendors · 5 products

References

10 links