Vulnerability in Websocket-Extensions Project
CVE-2020-7663
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.046, 91.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Websocket-Extensions Project
- Canonical Ubuntu Linux — versions 16.04, 18.04, 20.04
- Debian Linux — versions 9.0
- Websocket-Extensions (Ruby) — versions All versions prior to 0.1.5
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (amakhu/cdp, ARPSyndicate/cvemon, Live-Hack-CVE/CVE-2020-7663, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-qcwm-j5… (Third Party Advisory)
- github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53f1a8131… (Patch, Third Party Advisory)
- blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions (Third Party Advisory)
- snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830 (Exploit, Third Party Advisory)
- [debian-lts-announce] 20200819 [SECURITY] [DLA 2334-1] ruby-websocket-extensions security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4502-1 (vendor-advisory, Third Party Advisory)