websocket-extensions (npm) · denial of service
cve-program · CVE-2020-7662
Publishedwebsocket-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.
Read the publisher's advisoryeuvd · EUVD-2020-0489
Publishedwebsocket-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.
Read the publisher's advisorynvd · CVE-2020-7662
Publishedwebsocket-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.
Read the publisher's advisoryosv · GHSA-g78m-2chm-r7qv
Published### Impact The ReDoS flaw allows an attacker to exhaust the server's capacity to process incoming requests by sending a WebSocket handshake request containing a header of the following form: Sec-WebSocket-Extensions: a; b="\c\c\c\c\c\c\c\c\c\c ... That is, a header containing an unclosed string parameter value whose content is a repeating two-byte sequence of a backslash and some other character. The parser takes exponential time to reject this header as invalid, and this will block the processing of any other work on the same thread. Thus if you are running a single-threaded server, such a request can render your service completely unavailable. ### Patches Users should upgrade to version 0.1.4. ### Workarounds There are no known work-arounds other than disabling any public-facing WebSocket functionality you are operating. ### References - https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions/
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2020-7662
Publishedwebsocket-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…
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.
- Source published
- 2 Jun 2020 18:28:46 UTC
- Source modified
- 4 Aug 2024 09:33:20 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
euvd · EUVD-2020-0489
Publishedwebsocket-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…
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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Jun 2, 2020, 6:28:46 PM
dateUpdated: Aug 4, 2024, 9:33:20 AM
6 related source bulletins · separate from aliases
WID-SEC-W-2023-1350: Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern
CVE-2017-16042 · CVE-2018-25032 · CVE-2019-10744 · CVE-2019-10746 · CVE-2019-20149 · CVE-2020-13822 · CVE-2020-15138 · CVE-2020-28469 · CVE-2020-7662 · CVE-2020-7753 · CVE-2020-7774 · CVE-2020-8116 · CVE-2020-8169 · CVE-2020-8177 · CVE-2020-8203 · CVE-2020-8231 · CVE-2020-8284 · CVE-2020-8285 · CVE-2020-8286 · CVE-2021-20095 · CVE-2021-22876 · CVE-2021-22890 · CVE-2021-22897 · CVE-2021-22898 · CVE-2021-22901 · CVE-2021-22922 · CVE-2021-22923 · CVE-2021-22924 · CVE-2021-22925 · CVE-2021-22926 · CVE-2021-22945 · CVE-2021-22946 · CVE-2021-22947 · CVE-2021-23343 · CVE-2021-23368 · CVE-2021-23382 · CVE-2021-27292 · CVE-2021-29060 · CVE-2021-31566 · CVE-2021-33502 · CVE-2021-33503 · CVE-2021-33587 · CVE-2021-3520 · CVE-2021-36976 · CVE-2021-3803 · CVE-2021-43565 · CVE-2022-1705 · CVE-2022-1962 · CVE-2022-22576 · CVE-2022-23491 · CVE-2022-23772 · CVE-2022-23773 · CVE-2022-23806 · CVE-2022-24675 · CVE-2022-24921 · CVE-2022-24999 · CVE-2022-25858 · CVE-2022-27191 · CVE-2022-27664 · CVE-2022-27774 · CVE-2022-27775 · CVE-2022-27776 · CVE-2022-27778 · CVE-2022-27779 · CVE-2022-27780 · CVE-2022-27781 · CVE-2022-27782 · CVE-2022-28131 · CVE-2022-28327 · CVE-2022-2879 · CVE-2022-2880 · CVE-2022-29526 · CVE-2022-29804 · CVE-2022-30115 · CVE-2022-30580 · CVE-2022-30629 · CVE-2022-30630 · CVE-2022-30631 · CVE-2022-30632 · CVE-2022-30633 · CVE-2022-30634 · CVE-2022-30635 · CVE-2022-31129 · CVE-2022-32148 · CVE-2022-32189 · CVE-2022-32205 · CVE-2022-32206 · CVE-2022-32207 · CVE-2022-32208 · CVE-2022-32221 · CVE-2022-33987 · CVE-2022-3517 · CVE-2022-35252 · CVE-2022-35260 · CVE-2022-35737 · CVE-2022-36227 · CVE-2022-37434 · CVE-2022-37599 · CVE-2022-37601 · CVE-2022-37603 · CVE-2022-37616 · CVE-2022-38900 · CVE-2022-40023 · CVE-2022-40303 · CVE-2022-40304 · CVE-2022-41715 · CVE-2022-41716 · CVE-2022-41720 · CVE-2022-4200 · CVE-2022-42004 · CVE-2022-42915 · CVE-2022-42916 · CVE-2022-4304 · CVE-2022-43551 · CVE-2022-43552 · CVE-2022-43680 · CVE-2022-46175 · CVE-2023-0215 · CVE-2023-0286 · CVE-2023-1370 · CVE-2023-23914 · CVE-2023-23915 · CVE-2023-23916 · CVE-2023-27533 · CVE-2023-27534 · CVE-2023-27535 · CVE-2023-27536 · CVE-2023-27537 · CVE-2023-27538
WID-SEC-W-2026-4026: Red Hat OpenShift: Mehrere Schwachstellen
CVE-2013-0169 · CVE-2016-10739 · CVE-2018-14404 · CVE-2018-14498 · CVE-2018-16890 · CVE-2018-18074 · CVE-2018-18624 · CVE-2018-18751 · CVE-2018-19519 · CVE-2018-20060 · CVE-2018-20337 · CVE-2018-20483 · CVE-2018-20657 · CVE-2018-20852 · CVE-2018-9251 · CVE-2019-1010180 · CVE-2019-1010204 · CVE-2019-11070 · CVE-2019-11236 · CVE-2019-11324 · CVE-2019-11358 · CVE-2019-11459 · CVE-2019-12447 · CVE-2019-12448 · CVE-2019-12449 · CVE-2019-12450 · CVE-2019-12795 · CVE-2019-13232 · CVE-2019-13636 · CVE-2019-13752 · CVE-2019-13753 · CVE-2019-14822 · CVE-2019-14973 · CVE-2019-1547 · CVE-2019-1549 · CVE-2019-1563 · CVE-2019-15718 · CVE-2019-15847 · CVE-2019-16056 · CVE-2019-16769 · CVE-2019-17451 · CVE-2019-18408 · CVE-2019-19126 · CVE-2019-19923 · CVE-2019-19924 · CVE-2019-19925 · CVE-2019-19959 · CVE-2019-3822 · CVE-2019-3823 · CVE-2019-3825 · CVE-2019-3843 · CVE-2019-3844 · CVE-2019-5094 · CVE-2019-5436 · CVE-2019-5481 · CVE-2019-5482 · CVE-2019-5953 · CVE-2019-6237 · CVE-2019-6251 · CVE-2019-6454 · CVE-2019-6706 · CVE-2019-7146 · CVE-2019-7149 · CVE-2019-7150 · CVE-2019-7664 · CVE-2019-7665 · CVE-2019-8457 · CVE-2019-8506 · CVE-2019-8518 · CVE-2019-8523 · CVE-2019-8524 · CVE-2019-8535 · CVE-2019-8536 · CVE-2019-8544 · CVE-2019-8558 · CVE-2019-8559 · CVE-2019-8563 · CVE-2019-8571 · CVE-2019-8583 · CVE-2019-8584 · CVE-2019-8586 · CVE-2019-8587 · CVE-2019-8594 · CVE-2019-8595 · CVE-2019-8596 · CVE-2019-8597 · CVE-2019-8601 · CVE-2019-8607 · CVE-2019-8608 · CVE-2019-8609 · CVE-2019-8610 · CVE-2019-8611 · CVE-2019-8615 · CVE-2019-8619 · CVE-2019-8622 · CVE-2019-8623 · CVE-2019-8666 · CVE-2019-8671 · CVE-2019-8672 · CVE-2019-8673 · CVE-2019-8675 · CVE-2019-8676 · CVE-2019-8677 · CVE-2019-8679 · CVE-2019-8681 · CVE-2019-8686 · CVE-2019-8687 · CVE-2019-8689 · CVE-2019-8690 · CVE-2019-8696 · CVE-2019-8726 · CVE-2019-8735 · CVE-2019-8768 · CVE-2020-10531 · CVE-2020-10715 · CVE-2020-10743 · CVE-2020-11008 · CVE-2020-11022 · CVE-2020-11023 · CVE-2020-11110 · CVE-2020-12049 · CVE-2020-12052 · CVE-2020-12245 · CVE-2020-13822 · CVE-2020-14040 · CVE-2020-14336 · CVE-2020-15366 · CVE-2020-15719 · CVE-2020-1712 · CVE-2020-7013 · CVE-2020-7598 · CVE-2020-7662 · CVE-2020-8203 · CVE-2020-9283
RHSA-2020:2861: Red Hat Security Advisory: Red Hat OpenShift Service Mesh 1.0 servicemesh-grafana security update
CVE-2019-11253 · CVE-2020-7660 · CVE-2020-7662 · CVE-2020-12052 · CVE-2020-12245 · CVE-2020-13379 · CVE-2020-13430
WID-SEC-W-2026-0777: Red Hat OpenShift: Mehrere Schwachstellen
CVE-2019-11253 · CVE-2020-14306 · CVE-2019-16769 · CVE-2020-12052 · CVE-2020-7660 · CVE-2020-7662 · CVE-2020-12603 · CVE-2020-12604 · CVE-2020-12605 · CVE-2020-8663
RHSA-2020:4298: Red Hat Security Advisory: OpenShift Container Platform 4.6.1 image security update
CVE-2013-0169 · CVE-2018-18624 · CVE-2019-11358 · CVE-2019-16769 · CVE-2020-7013 · CVE-2020-7598 · CVE-2020-7662 · CVE-2020-8203 · CVE-2020-8559 · CVE-2020-9283 · CVE-2020-10715 · CVE-2020-10743 · CVE-2020-11022 · CVE-2020-11023 · CVE-2020-11110 · CVE-2020-12052 · CVE-2020-12245 · CVE-2020-13822 · CVE-2020-14040 · CVE-2020-14336 · CVE-2020-15366
RHSA-2020:2796: Red Hat Security Advisory: Red Hat OpenShift Service Mesh servicemesh-grafana security update
CVE-2019-11253 · CVE-2019-16769 · CVE-2020-7660 · CVE-2020-7662 · CVE-2020-12052 · CVE-2020-12245 · CVE-2020-13379 · CVE-2020-13430
- Source published
- Jun 2, 2020, 6:28:46 PM (timezone not stated)
- Source modified
- Aug 4, 2024, 9:33:20 AM (timezone not stated)
- Saved here
- 24 Nov 2026 03:28:43 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
nvd · CVE-2020-7662
Publishedwebsocket-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…
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: NVD-CWE-Other
Original publisher date fields
published: 2020-06-02T19:15:12.403
lastModified: 2026-06-17T03:25:13.273
1 source CPE criteria · context only
- cpe:2.3:a:websocket-extensions_project:websocket-extensions:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 2 Jun 2020 19:15:12 UTC
- Source modified
- 17 Jun 2026 03:25:13 UTC
- Saved here
- 24 Oct 2026 17:17:21 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Primary · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 · [email protected] · Primary · 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
osv · GHSA-g78m-2chm-r7qv
PublishedRegular Expression Denial of Service in websocket-extensions (NPM package)
### Impact The ReDoS flaw allows an attacker to exhaust the server's capacity to process incoming requests by sending a WebSocket handshake request containing a header of the following form: Sec-WebSocket-Extensions: a; b="\c\c\c\c\c\c\c\c\c\c ... That is, a header containing an unclosed string parameter value whose content is a repeating two-byte sequence of a backslash and some other character. The parser takes exponential time to reject this header as invalid, and this will block the processing of any other work on the same thread. Thus if you are running a single-threaded server, such a request can render your service completely unavailable. ### Patches Users should upgrade to version 0.1.4. ### Workarounds There are no known work-arounds other than disabling any public-facing WebSocket functionality you are operating. ### References - https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions/
- Source published
- 5 Jun 2020 16:16:12 UTC
- Source modified
- 8 Jul 2026 06:50:02 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Publisher rating · HIGH