Skip to main content
No exploitation reportedFix available

CVE-2020-7662

No exploitation reported by the sources we read.

  • Published2020-06-02
  • Fixed in0.1.4

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-06-0219:15CVE publishedNVD

Versions per branch

NVD · OSV
Websocket-extensions project websocket-extensions
BranchAffectedFixed in
0.1< 0.1.40.1.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • js-jqueryAzure Linux:3all versions · no fixed version listed
  • servicemesh-grafanaRed Hat:service_mesh:1.1::el8all versions · fixed in 0:6.4.3-11.el8and 1 other package
  • servicemesh-grafanaRed Hat:service_mesh:1.0::el8all versions · fixed in 0:6.2.2-38.el8and 1 other package
  • websocket-extensionsTuxCare:npmfrom 0.1.1-tuxcare.0 · fixed in 0.1.1-tuxcare.3

Vendor advisories

  • CVE-2020-7662 Red Hat Product Security9 products fixed · 1 known affected

    npmjs-websocket-extensions: ReDoS vulnerability in Sec-WebSocket-Extensions parser

    openshift4/ose-prometheus as a component of Red Hat OpenShift Container Platform 4

  • RHSA-2020:4298 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.6.1 image security update

  • RHSA-2020:2861 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Service Mesh 1.0 servicemesh-grafana security update

  • RHSA-2020:2796 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Service Mesh servicemesh-grafana security update

Full record on NVD

Fix

  1. Update Websocket-extensions project websocket-extensions to 0.1.4
  2. Vendor fix Red Hat Product Security RHSA-2020:4298 · 3 productsFor OpenShift Container Platform 4.6 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.6/release_notes/ocp-4-6-r…
  3. Vendor fix Red Hat Product Security RHSA-2020:2861 · 3 productsThe OpenShift Service Mesh release notes provide information on the features and known issues: https://docs.openshift.com/container-platform/latest/service_mesh/servicemesh-release-notes.html
  4. No fix available, says the vendor Red Hat Product Security CVE-2020-7662 · 1 productFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2020-06-02
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-g78m-2chm-r7qv

Frequently asked questions

What is CVE-2020-7662?

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.

Is CVE-2020-7662 actively exploited?

Active exploitation of CVE-2020-7662 has not been confirmed. Its EPSS score was 3.1% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-7662?

CVE-2020-7662 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running websocket-extensions? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record