Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Websocket-Extensions Project | Websocket-Extensions | < 0.1.5 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 16.04 |
References
- https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensionsThird Party Advisory
- https://github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53PatchThird Party Advisory
- https://github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00031.htmlMailing ListThird Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830ExploitThird Party Advisory
- https://usn.ubuntu.com/4502-1/Third Party Advisory
- https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensionsThird Party Advisory
- https://github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53PatchThird Party Advisory
- https://github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00031.htmlMailing ListThird Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830ExploitThird Party Advisory
- https://usn.ubuntu.com/4502-1/Third Party Advisory
FAQ
What is CVE-2020-7663?
CVE-2020-7663 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2020-7663?
CVE-2020-7663 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-7663?
Check the references section above for vendor advisories and patch information. Affected products include: Websocket-Extensions Project Websocket-Extensions, Debian Debian Linux, Canonical Ubuntu Linux.