PT-2020-19691 · Ruby+5 · Websocket-Extensions+5
Robert Mclaughlin
·
Published
2020-06-02
·
Updated
2026-03-13
·
CVE-2020-7663
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
websocket-extensions ruby module versions prior to 0.1.5
Description
The issue allows for Denial of Service (DoS) via Regex Backtracking. An attacker can exploit this by providing a malicious payload with the Sec-WebSocket-Extensions header, containing an unclosed string parameter value with a repeating two-byte sequence of a backslash and some other character. This can exhaust the server's capacity to process incoming requests, rendering the service completely unavailable, especially on single-threaded servers.
Recommendations
For versions prior to 0.1.5, upgrade to version 0.1.5 to resolve the issue. As a temporary workaround, consider disabling any public-facing WebSocket functionality until the upgrade is applied.
Exploit
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Red Os
Suse
Ubuntu
Websocket-Extensions