CVE-2020-7662: websocket-extensions_project websocket-extensions
Vulnerability summary
CVE-2020-7662 is a high (CVSS 7.5) vulnerability in websocket-extensions_project websocket-extensions. EPSS estimates a 3.09% chance of exploitation in the next 30 days, higher than 87.7% of scored vulnerabilities. 3 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 02-06-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · NpmEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HDiffers
EPSS trend
Probability
3.09%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
Increase +0.08 pp
From 3.01% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundWebsocket Extensions Node
Maturity: poc
Exploit Reference (blog.jcoglan.com)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Npm1 product
- websocket-extensions< 0.1.4
Websocket-extensions_project1 product
- websocket-extensions< 0.1.4
2 vendors · 2 products
References
6 links- blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensionsX Refsource MISCWEBExploitThird Party Advisory
- github.com/faye/websocket-extensions-node/security/advisories/GHSA-g78m-2chm-r7qvX Refsource MISCWEBExploitThird Party Advisory
- github.com/faye/websocket-extensions-node/commit/29496f6838bfadfe5a2f85dff33ed0ba33873237X Refsource MISCWEBPatchThird Party Advisory
- snyk.io/vuln/SNYK-JS-WEBSOCKETEXTENSIONS-570623X Refsource MISCWEBExploitTechnical DescriptionThird Party Advisory