CVE-2020-7662
CVE-2020-7662
CVSS 8.2 · High · EPSS 3.1% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- websocket-extensions (npm)No fix published
- websocket-extensions npmUpdate to 0.1.4
Check the installed version:
npm ls websocket-extensionsAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2020:2861 · Red Hat service mesh 1.0 el8 ·
- RHSA-2020:2796 · Red Hat service mesh 1.1 el8 ·
Stack: node
Affected products and versions
websocket-extensions (npm)
- Versions
- All versions prior to 0.1.4: Affected
No fix published
websocket-extensions npm
- Affected ranges
- SEMVER: < 0.1.4
Update to 0.1.4
Original sources
- https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions
- https://github.com/faye/websocket-extensions-node/security/advisories/GHSA-g78m-2chm-r7qv
- https://github.com/faye/websocket-extensions-node/commit/29496f6838bfadfe5a2f85dff33ed0ba33873237
- https://snyk.io/vuln/SNYK-JS-WEBSOCKETEXTENSIONS-570623
- https://nvd.nist.gov/vuln/detail/CVE-2020-7662