Memory Allocation Vulnerability in ws Module for WebSocket Functionality
CVE-2016-10518

7.5HIGH

Key Information:

Vendor

Hackerone

Vendor
CVE Published:
31 May 2018

What is CVE-2016-10518?

A vulnerability exists in the ping functionality of the ws module prior to version 1.0.0, allowing clients to exploit memory allocation by sending specially crafted ping frames. When a ping frame is received, the ws module responds with a pong frame containing the original payload. However, the vulnerability arises from the lack of validation for the type of data being sent, leading to incorrect buffer allocation in Node.js. This behavior can potentially be exploited to consume excessive memory resources, impacting the performance and stability of the affected applications.

Affected Version(s)

ws node module <= 1.0.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.