Uncontrolled resource consumption in websocket-extensions
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 3 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | websocket-extensions (npm) | before 0.1.4 | 0.1.4 | Patch available | CNA |
| — | websocket-extensions (npm) | before 0.1.4 | 0.1.4 | Patch available | GHSA-g78m-2chm-r7qv |
- websocket-extensions (npm) Vendor— Affected before 0.1.4 Fixed in 0.1.4 Patch available CNA
- websocket-extensions (npm) Vendor— Affected before 0.1.4 Fixed in 0.1.4 Patch available GHSA-g78m-2chm-r7qv
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:websocket-extensions_project:websocket-extensions:*:*:*:*:*:node.js:*:* | before 0.1.4 | Vulnerable | Websocket-extensions Project |
- cpe:2.3:a:websocket-extensions_project:websocket-extensions:*:*:*:*:*:node.js:*:* Versions before 0.1.4 Vulnerable ·Websocket-extensions Project
Remediation
- Fix · CNA websocket-extensions (npm) Fixed in 0.1.4
- Fix · GHSA-g78m-2chm-r7qv websocket-extensions (npm) Fixed in 0.1.4 Advisory →
Red Hat 3 advisories
- RHSA-2020:4298 Released 2020-10-27 · Red Hat rating ModerateOpenShift Container Platform 4.6.1 image security update
- Red Hat OpenShift Container Platform 4.6 openshift4/ose-ansible-operator, openshift4/ose-aws-machine-controllers, openshift4/ose-azure-machine-controllers +47
- RHSA-2020:2861 Released 2020-07-07 · Red Hat rating ImportantRed Hat OpenShift Service Mesh 1.0 servicemesh-grafana security update
- OpenShift Service Mesh 1.0 servicemesh-grafana-6.2.2-38.el8, servicemesh-grafana-prometheus-6.2.2-38.el8
- RHSA-2020:2796 Released 2020-07-01 · Red Hat rating ImportantRed Hat OpenShift Service Mesh servicemesh-grafana security update
- OpenShift Service Mesh 1.1 servicemesh-grafana-6.4.3-11.el8, servicemesh-grafana-prometheus-6.4.3-11.el8
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| OpenShift Service Mesh 1.0 | Fixed | RHSA-2020:2861 |
| OpenShift Service Mesh 1.1 | Fixed | RHSA-2020:2796 |
| Red Hat OpenShift Container Platform 4.6 | Fixed | RHSA-2020:4298 |
Not affected: 1 product
- Red Hat OpenShift Container Platform 4.6
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7662
- 2026-10-03 Alias added: GHSA-g78m-2chm-r7qv
References
Exploit 2
Patch 1
More Websocket-extensions Project Websocket-extensions vulnerabilities
- TI-2020-06183 Uncontrolled resource consumption in websocket-extensions CVSS 3.1HIGH 7.5
Sources
- CVE-2020-7662 · CVE Program
- CVE-2020-7662 · NVD
- FIRST EPSS
- GHSA-g78m-2chm-r7qv · GitHub Advisory Database · CC BY 4.0
- CVE-2020-7662 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences