Vulnerability
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.
13 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
DEBIAN-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…
-
DLA-2334-1
ruby-websocket-extensions - security update
-
GHSA-g6wq-qcwm-j5g2
Regular Expression Denial of Service in websocket-extensions (RubyGem)
-
OESA-2022-1553
rubygem-websocket-extensions security update
-
OESA-2022-2093
rubygem-websocket-extensions security update
-
RHSA-2020:4366
Red Hat Security Advisory: Satellite 6.8 release
-
SUSE-SU-2023:0127-1
Security update for rubygem-websocket-extensions
-
UBUNTU-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…
-
USN-4502-1
ruby-websocket-extensions vulnerability
-
openSUSE-SU-2024:13173-1
ruby3.2-rubygem-websocket-extensions-0.1.5-1.16 on GA media
-
openSUSE-SU-2024:14180-1
ruby3.3-rubygem-websocket-extensions-0.1.5-1.20 on GA media
-
openSUSE-SU-2025:15130-1
ruby3.4-rubygem-websocket-extensions-0.1.5-1.22 on GA media
-
openSUSE-SU-2026:10368-1
ruby4.0-rubygem-websocket-extensions-0.1.5-1.24 on GA media
References
- https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions
- https://github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53f1a8131892418838b
- https://github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-qcwm-j5g2
- https://lists.debian.org/debian-lts-announce/2020/08/msg00031.html
- https://snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830
- https://usn.ubuntu.com/4502-1/