High severityNVD Advisory· Published Jun 2, 2020· Updated Aug 4, 2024
CVE-2020-7662
CVE-2020-7662
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
websocket-extensionsnpm | < 0.1.4 | 0.1.4 |
Affected products
2- websocket-extensions/websocket-extensionsdescription
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-g78m-2chm-r7qvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-7662ghsaADVISORY
- blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensionsghsax_refsource_MISCWEB
- github.com/faye/websocket-extensions-node/commit/29496f6838bfadfe5a2f85dff33ed0ba33873237ghsax_refsource_MISCWEB
- github.com/faye/websocket-extensions-node/security/advisories/GHSA-g78m-2chm-r7qvghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-WEBSOCKETEXTENSIONS-570623ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.