Resource exhaustion in Websockets Ws

CVE-2021-32640

ws is an open source WebSocket client and server library for Node.js. A specially crafted value of the `Sec-Websocket-Protocol` header can be used to significantly slow down a ws server. The vulnerability has been fixed in ws@7.4.6 (https…

Vulnerability class: DoS (Denial of Service)

EPSS: 0.012 (78.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-32640?
CVE-2021-32640 is a medium-severity vulnerability in Websockets Ws, classified under Uncontrolled Resource Consumption. CVSS score: 5.3/10. Published 2021-05-25.
How severe is CVE-2021-32640?
Medium severity. CVSS v3 base score is 5.3 out of 10.
Is CVE-2021-32640 known to be exploited?
7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.