CVE-2020-7662: websocket-extensions npm module prior to 0.1.4 allows Denial of Service (DoS) via Regex Backtracking
CVE-2020-7662 is a high-severity flaw (CVSS 7.5) affecting websocket-extensions. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 th
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.1% (top 12%) |
| CISA exploited list | No |
| Published | 2020-06-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-7662?
websocket-extensions: upgrade to 0.1.4. Exact commands for each OS are on this page.
Is CVE-2020-7662 being exploited?
CVE-2020-7662 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-7662 affect?
CVE-2020-7662 affects websocket-extensions. Severity is high (CVSS 7.5). 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 repeat
How urgent is CVE-2020-7662?
Priority 58/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2020-7663 HIGH 7.5 UPGRADE MITIGATE websocket-extensions ruby module prior to 0.1.5 allows Denial of Service (DoS) via Regex Backtracking