CVE-2020-7663
mediumpriority · track · 32EPSS 0.046 · 92 %ileDEEURUUSEPSS · scored 2026-10-26
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedruby4.0-rubygem-websocket-extensions-0:0.1.5-1.24.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-websocket-extensions-0:0.1.5-1.24.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-websocket-extensions-0:0.1.5-1.24.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-websocket-extensions-0:0.1.5-1.24.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.3–8.2
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (28)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1087GitLab: Mehrere SchwachstellenDeutsch2020-09-02csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in GitLab ausnutzen, um einen Cross-Site Scripting oder Denial of Service Angriff durchzuführen, Sicherheitsmechanismen zu umgehen, Daten zu manipulieren oder vertrauliche Daten einzusehen.
- openSUSE-SU-2026:10368-1ruby4.0-rubygem-websocket-extensions-0.1.5-1.24 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-websocket-extensions-0.1.5-1.24 on GA media
- GHSA-g6wq-qcwm-j5g2Regular Expression Denial of Service in websocket-extensions (RubyGem)2020-06-05ghsa · osvUS
### Impact The ReDoS flaw allows an attacker to exhaust the server's capacity to process incoming requests by sending a WebSocket handshake request containing a header of the following form: Sec-WebSocket-Extensions: a; b="\c\c\c\c\c\c\c\c\c\c ... That is, a header containing an unclosed string parameter value whose content is a repeating two-byte sequence of a backslash and some other character. The parser takes exponential time to reject this header as invalid, and this will block the processing of any other work on the same thread. Thus if you are running a single-threaded server, such a request can render your service completely unavailable. ### Patches Users should upgrade to version 0.1.5. ### Workarounds There are no known work-arounds other than disabling any public-facing WebSocket functionality you are operating. ### References - https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions/
also known as (5)
Other names and identifiers for this entity.
- CNNVD-202006-272cnnvd
- EUVD-2020-0487enisa_euvd
- BDU:2025-09009fstec_bdu
- GHSA-g6wq-qcwm-j5g2enisa_euvd
- SNYK-RUBY-WEBSOCKETEXTENSIONS-570830osv
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensionscnnvd
- https://github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53f1a8131892418838bcnnvd
- https://github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-qcwm-j5g2cnnvd
- https://lists.debian.org/debian-lts-announce/2020/08/msg00031.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-7663cnnvd
- https://packetstormsecurity.com/files/159188/Ubuntu-Security-Notice-USN-4502-1.htmlcnnvd
- https://packetstormsecurity.com/files/159724/Red-Hat-Security-Advisory-2020-4366-01.htmlcnnvd
- https://snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan