All CVEs / Websocket-extensions Project
CVE-2020-7662Websocket-extensions Project Websocket-extensions
High 7.5 No auth needed
Follow: this CVE · Websocket-extensions Project · Websocket-extensions Project Websocket-extensions We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.1% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Jun 2, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Websocket-extensions.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | websocket-extensions |
< 0.1.4 |
0.1.4 |
npm install websocket-extensions@0.1.4 |
Per OSV / GitHub Advisories (GHSA-g78m-2chm-r7qv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| websocket-extensions_project | websocket-extensions | < 0.1.4 |
Official sources
References
Links published by the sources. Open them with care.
- blog.jcoglan.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory
- snyk.io Exploit Technical Description Third Party Advisory