CVE-2020-7663 Regular Expression Denial of Service in websocket-extensions (RubyGem)
HighCVSS 7.5
EPSS 4.6%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- UbuntuDebian
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems websocket-extensions(RubyGems) | < 0.1.5 | 0.1.5 |
| rubygems websocket-extensions(RubyGems) | = 0.1.0 | No fix listed |
| rubygems websocket-extensions(RubyGems) | = 0.1.1 | No fix listed |
| rubygems websocket-extensions(RubyGems) | = 0.1.2 | No fix listed |
| rubygems websocket-extensions(RubyGems) | = 0.1.3 | No fix listed |
| rubygems websocket-extensions(RubyGems) | = 0.1.4 | No fix listed |
| debian/ruby-websocket-extensions(Debian:12) | < 0.1.5-1 | 0.1.5-1 |
| debian/ruby-websocket-extensions(Debian:13) | < 0.1.5-1 | 0.1.5-1 |
| debian/ruby-websocket-extensions(Debian:14) | < 0.1.5-1 | 0.1.5-1 |
| websocket-extensions project websocket-extensions | < 0.1.5 | 0.1.5 |
| debian linux | = 9.0 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| Canonical Ubuntu Linux | = 20.04 | No fix listed |
| ubuntu/ruby-websocket-extensions(Ubuntu:16.04) | < 0.1.2-1+deb9u1build0.16.04.1 | 0.1.2-1+deb9u1build0.16.04.1 |
| ubuntu/ruby-websocket-extensions(Ubuntu:16.04) | = 0.1.2-1 | No fix listed |
| ubuntu/ruby-websocket-extensions(Ubuntu:18.04) | < 0.1.2-1+deb9u1build0.18.04.1 | 0.1.2-1+deb9u1build0.18.04.1 |
| ubuntu/ruby-websocket-extensions(Ubuntu:18.04) | = 0.1.2-1 | No fix listed |
| ubuntu/ruby-websocket-extensions(Ubuntu:20.04) | < 0.1.2-1+deb9u1build0.20.04.1 | 0.1.2-1+deb9u1build0.20.04.1 |
| ubuntu/ruby-websocket-extensions(Ubuntu:20.04) | = 0.1.2-1 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- blog.jcoglan.com issue-tracking third-party-advisory
- snyk.io exploit issue-tracking third-party-advisory
- [debian-lts-announce] 20200819 [SECURITY] [DLA 2334-1] ruby-websocket-extensions security update mailing-list third-party-advisory
- USN-4502-1 third-party-advisory vendor-advisory
- github.com exploit
- github.com
- github.com product
- Debian Security Tracker CVE-2020-7663 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking