PT-2026-60253 · Debian+3 · Node-Ws+1
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
ws versions prior to 8.21.1
Description
A memory exhaustion issue exists in
lib/receiver.js where the fragment guard only triggers when the fragment count reaches maxFragments. This allows an attacker to cause a denial of service through heap exhaustion by sending incomplete fragmented WebSocket messages. Specifically, an attacker can send a text frame with FIN=0 followed by continuation frames without completing the sequence, which causes each fragment to be stored as a separate Buffer object with significant overhead.Recommendations
Update to version 8.21.1 or later.
Exploit
Fix
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Node-Ws
Ws