Skip to main content
← All vulnerabilities
CVE-2020-7662GHSA-G78M-2CHM-R7QVSNYK-JS-WEBSOCKETEXTENSIONS-570623

websocket-extensions npm module prior to 0.1.4 allows Denial of Service (DoS) via Regex Backtracking.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.1.4
None on Exploit-DB, Metasploit or GitHub

Summary

websocket-extensions npm module prior to 0.1.4 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

  1. CVE published
  2. Record last updated

Affected versions

  • n/a websocket-extensions (npm)

    All versions prior to 0.1.4

  • websocket-extensionsnpm

    fixed in 0.1.4

References 4

blog.jcoglan.com

GitHub · faye/websocket-extensions-node

snyk.io