Security mailing lists by PureSourceCode

CVE-2020-7663

HIGH 7.5CVSS 3.1

Regular Expression Denial of Service in websocket-extensions (RubyGem)

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.

Published
2 Jun 2020
Last modified
8 Jul 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-g6wq-qcwm-j5g2SNYK-RUBY-WEBSOCKETEXTENSIONS-570830
Sources
NVDJSONOSV GHSA-g6wq-qcwm-j5g2JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD websocket-extensions_project websocket-extensions
cpe:2.3:a:websocket-extensions_project:websocket-extensions:*:*:*:*:*:ruby:*:*
< 0.1.5 0.1.5
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
= 20.04
OSV RubyGems websocket-extensions < 0.1.5 0.1.5

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 2 Jun 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.