CVE-2016-10518
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2016-10518
- Assigner
- support@hackerone.com
- Vulnerability Status
- Modified
- Published Version
- 2018-05-31T20:29:00
- Last Modified Date
- 2019-10-09T23:16:41
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:* | 1 | OR | 1.0.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://nodesecurity.io/advisories/67 | Third Party Advisory |
https://github.com/websockets/ws/releases/tag/1.0.1 | Release Notes Third Party Advisory |
https://gist.github.com/c0nrad/e92005446c480707a74a | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2016-10518 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10518 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:14:38 | Added to TrackCVE | |||
2022-12-03 06:51:32 | cve-assignments@hackerone.com | support@hackerone.com | CVE Assigner | updated |
2022-12-03 06:51:32 | 2018-05-31T20:29Z | 2018-05-31T20:29:00 | CVE Published Date | updated |
2022-12-03 06:51:32 | 2019-10-09T23:16:41 | CVE Modified Date | updated | |
2022-12-03 06:51:32 | Modified | Vulnerability Status | updated |