CVE-2016-10518
publishedws node module vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HackerOne | — | ws node module<= 1.0.0 | Affected | Not stated | hackerone |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HackerOne | ws node module | <= 1.0.0 (affected) | hackerone · cna |
Weaknesses
1- CWE-201 Information Exposure Through Sent Data (CWE-201)
References
3Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 756eef8f3f8053ae4d0b26ec553978ab2fa96080a28e50ae4eb7fc688931b859
- Ingested
- 23 Sep 2026, 07:41:04 UTC
- Source record
- Official CVE record