CVE-2016-10518
Summary
| CVE | CVE-2016-10518 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-05-31 20:29:00 UTC |
| Updated | 2019-10-09 23:16:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|
| Application |
Ws Project |
Ws |
All |
All |
All |
All |
| Application |
Ws Project |
Ws |
All |
All |
All |
All |
References
| Reference | Source | Link | Tags |
|---|
| Incorrect advisory https://nodesecurity.io/advisories/67 · GitHub |
MISC |
gist.github.com |
Patch, Third Party Advisory |
| Node Security Platform | Advisory |
MISC |
nodesecurity.io |
Third Party Advisory |
| Release Buffer vulnerability · websockets/ws · GitHub |
MISC |
github.com |
Release Notes, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 983138 Nodejs (npm) Security Update for ws (GHSA-2mhh-w6q8-5hxw)