CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LMedium (5.3). EPSS 2.9% estimated probability of exploitation activity in the next 30 days. Fixed in ws 5.2.3, 6.2.2, 7.4.6.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lws (npm): fixed in 7.4.6, 6.2.2, 5.2.3Explain CVE-2021-32640 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32640?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32640?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-2021-32640 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ws_project:ws | from 5.0.0 before 6.2.2 |
| ws_project:ws | from 7.0.0 before 7.4.6 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6fc8-4gx4-v693 | npm | ws | >=7.0.0 <7.4.6 | 7.4.6 |
| GHSA-6fc8-4gx4-v693 | npm | ws | >=6.0.0 <6.2.2 | 6.2.2 |
| GHSA-6fc8-4gx4-v693 | npm | ws | >=5.0.0 <5.2.3 | 5.2.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | node-ws | 7.4.2+~cs18.0.8-2 | DEBIAN-CVE-2021-32640 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 1 more | node-ws | no fix listed | UBUNTU-CVE-2021-32640 |
| Azure Linux | 3 | js-jquery | no fix listed | AZL-44670 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Low.
In vulnerable versions of ws, the issue can be mitigated by reducing the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options.
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Service Mesh 2.0 | servicemesh-grafana | Affected | |
| OpenShift Service Mesh 2.0 | servicemesh-prometheus | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | mcm-topology | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | mcm-topology-api | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/application-ui-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-api-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-header-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-ui-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/grc-ui-api-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/grc-ui-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/kui-web-terminal-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/search-api-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/search-ui-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 1.2 | ws | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-grafana | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-thanos-rhel9 | Fix deferred | |
| Red Hat Openshift Container Storage 4 | ocs4/mcg-core-rhel8 | Affected |
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-2021-32640.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.