Vulnerability · Published Jun 2, 2020 · Assigned by snyk

CVE-2020-7663

High 7.5

In plain English

A high-severity security flaw in websocket-extensions (ruby). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.6% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)4.6%top 8.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-websocket-extensions0.1.5-1DEBIAN-CVE-2020-7663
Debian:13ruby-websocket-extensions0.1.5-1DEBIAN-CVE-2020-7663
Debian:14ruby-websocket-extensions0.1.5-1DEBIAN-CVE-2020-7663
RubyGemswebsocket-extensions0.1.5GHSA-g6wq-qcwm-j5g2

Affected products (as reported)

VendorProductVersions
n/a websocket-extensions (ruby) All versions prior to 0.1.5

References