CVE-2020-7663GHSA-G6WQ-QCWM-J5G2SNYK-RUBY-WEBSOCKETEXTENSIONS-570830
websocket-extensions ruby module prior to 0.1.5 allows Denial of Service (DoS) via Regex Backtracking.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- n/a websocket-extensions (ruby)
All versions prior to 0.1.5
- websocket-extensionsRubyGems
fixed in 0.1.5