CVE-2020-7662: websocket-extensions - Denial of Service
- Cve: CVE-2020-7662
- Name: websocket-extensions - Denial of Service
- 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.
- Impact: Attackers can cause a server to become unresponsive or crash by exploiting regex backtracking, leading to service disruption.
- Remediation: Update to version 0.1.4 or later to fix the regex backtracking issue.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.03088
- Epss percentile: 0.88038
- Assignee: [email protected]
- Published at: 2020-06-02T19:15:12Z
- Age in days: 2366
- Modified at: 2026-06-17T03:25:13Z
- Patch available: yes
- Public exploits total: 3
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-7662
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
Public exploits
Same in every row:
- Source: nvd
- Added date: 2020-06-02
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/faye/websocket-extensions-node/commit/29496f6838bfadfe5a2f85dff33ed0ba33873237 | Patch, Third Party Advisory |
| https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions | Exploit, Third Party Advisory |
| https://github.com/faye/websocket-extensions-node/security/advisories/GHSA-g78m-2chm-r7qv | Exploit, Third Party Advisory |
| https://snyk.io/vuln/SNYK-JS-WEBSOCKETEXTENSIONS-570623 | Exploit, Technical Description, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| websocket-extensions_project:websocket-extensions | < 0.1.4 | no | nvd | /v1/products/websocket-extensions_project/websocket-extensions |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| faye/websocket-extensions-node | commit, package, security_advisory | yes | /v1/repositories/faye/websocket-extensions-node |
Index
- Repositories: 114
- Repositories high signal: 17
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2020-06-02
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts