VDB

CVE-2020-7663

CVE-2020-7663 PUBLISHED CVSS 7.5 HIGH

Regular Expression Denial of Service in websocket-extensions (RubyGem)

Reported by snyk · Published June 2, 2020

websocket-extensions is fixed in 0.1.5 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
websocket-extensionsRubyGems0.1.5
ruby-websocket-extensionsUbuntu:18.04:LTS0.1.2-1+deb9u1build0.18.04.1
websocket-extensionswebsocket-extensions_project0.1.5
ruby-websocket-extensionsUbuntu:16.04:LTS0.1.2-1+deb9u1build0.16.04.1

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/awebsocket-extensions (ruby)All versions prior to 0.1.5
RubyGemswebsocket-extensions0
n/awebsocket-extensions (ruby)*

Timeline

  • Jun 2, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • May 18, 2025 CVE Updated
  • Mar 7, 2026 Distribution Patch
  • Mar 7, 2026 Security Advisory (3 in total, the first dated here)
  • Apr 7, 2026 PoC Published
  • Aug 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-7663
vulnetix vdb fixes CVE-2020-7663

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7663/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›