Memory Allocation Vulnerability in ws Module for WebSocket Functionality
CVE-2016-10518
7.5HIGH
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