# CVE-2020-7663: ruby-websocket-extensions: websocket-extensions ruby module prior to 0.1.5 allows Denial of Service (DoS) via Regex Backtracking

CVE-2020-7663 is fixed in ruby-websocket-extensions on 1 platform, first by ruby-websocket-extensions 0.1.2-1+deb9u1build0.18.04.1, released June 2, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-7663
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0464
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 2, 2020

## Description

websocket-extensions ruby module prior to 0.1.5 allows Denial of Service (DoS) via Regex Backtracking. The extension parser may take quadratic time when parsing a header containing an unclosed string parameter value whose content is a repeating two-byte sequence of a backslash and some other character. This could be abused by an attacker to conduct Regex Denial Of Service (ReDoS) on a single-threaded server by providing a malicious payload with the Sec-WebSocket-Extensions header.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ruby-websocket-extensions Ubuntu 18.04.6 LTS (bionic) | 0.1.2-1+deb9u1build0.18.04.1 | [ruby-websocket-extensions 0.1.2-1+deb9u1build0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ruby-websocket-extensions-0.1.2-1-deb9u1build0.18.04.1.md) | Jun 2, 2020 |
| Linux | ruby-websocket-extensions Ubuntu 20.04 LTS (focal) | 0.1.2-1+deb9u1build0.20.04.1 | [ruby-websocket-extensions 0.1.2-1+deb9u1build0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ruby-websocket-extensions-0.1.2-1-deb9u1build0.20.04.1.md) | Jun 2, 2020 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
