Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Websocket-Extensions Project | Websocket-Extensions | < 0.1.4 |
References
- https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensionsExploitThird Party Advisory
- https://github.com/faye/websocket-extensions-node/commit/29496f6838bfadfe5a2f85dPatchThird Party Advisory
- https://github.com/faye/websocket-extensions-node/security/advisories/GHSA-g78m-ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-WEBSOCKETEXTENSIONS-570623ExploitTechnical DescriptionThird Party Advisory
- https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensionsExploitThird Party Advisory
- https://github.com/faye/websocket-extensions-node/commit/29496f6838bfadfe5a2f85dPatchThird Party Advisory
- https://github.com/faye/websocket-extensions-node/security/advisories/GHSA-g78m-ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-WEBSOCKETEXTENSIONS-570623ExploitTechnical DescriptionThird Party Advisory
FAQ
What is CVE-2020-7662?
CVE-2020-7662 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 p...
How severe is CVE-2020-7662?
CVE-2020-7662 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-7662?
Check the references section above for vendor advisories and patch information. Affected products include: Websocket-Extensions Project Websocket-Extensions.