Live threats

All CVEs / Websocket-extensions Project

CVE-2020-7663Websocket-extensions Project Websocket-extensions

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
4.6%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Jun 2, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Websocket-extensions.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems websocket-extensions < 0.1.5 0.1.5 gem "websocket-extensions", ">= 0.1.5"

Per OSV / GitHub Advisories (GHSA-g6wq-qcwm-j5g2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
websocket-extensions_projectwebsocket-extensions< 0.1.5
debiandebian_linux9.0
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux20.04

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.