cve.bz

CVE-2020-7662 websocket-extensions project websocket-extensions

7.5 highExploit referenceEPSS 3.1%Fix available

High (7.5) in websocket-extensions project websocket-extensions. EPSS 3.1% estimated probability of exploitation activity in the next 30 days. Fixed in websocket-extensions 0.1.4.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.1% (unchanged from 3.1% a week ago; 3.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-7662 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-7662?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-7662?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-7662 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
websocket-extensions_project:websocket-extensionsbefore 0.1.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g78m-2chm-r7qvnpmwebsocket-extensions<0.1.40.1.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatservice_mesh:1.0::el8servicemesh-grafana, servicemesh-grafana-prometheus0:6.2.2-38.el8RHSA-2020:2861
Red Hatservice_mesh:1.1::el8servicemesh-grafana, servicemesh-grafana-prometheus0:6.4.3-11.el8RHSA-2020:2796
Azure Linux3js-jqueryno fix listedAZL-44202

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In both OpenShift Container Platform (OCP) and OpenShift ServiceMesh (OSSM), the grafana and prometheus containers are behind OpenShift OAuth restricting access to the vulnerable websocket-extension to authenticated users only, therefore the impact is Low.

ProductPackageStateAdvisory
OpenShift Service Mesh 1.0servicemesh-grafana-0:6.2.2-38.el8Fixed 2020-07-07RHSA-2020:2861
OpenShift Service Mesh 1.1servicemesh-grafana-0:6.4.3-11.el8Fixed 2020-07-01RHSA-2020:2796
Red Hat OpenShift Container Platform 4.6openshift4/ose-grafana:v4.6.0-202010061132.p0Fixed 2020-10-27RHSA-2020:4298
Red Hat OpenShift Container Platform 4openshift4/ose-prometheusFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-7662.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

References

Check your stackJSON