CVE-2021-32640 Details
Description
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 [email protected] (https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff). 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`](https://nodejs.org/api/cli.html#cli_max_http_header_size_size) and/or the [`maxHeaderSize`](https://nodejs.org/api/http.html#http_http_createserver_options_requestlistener) options.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff | CVE | PatchThird Party Advisory |
| https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693 | CVE | ExploitMitigationPatchThird Party Advisory |
| https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30%40%3Ccommits.tinkerpop.apache.org%3E | CVE | |
| https://security.netapp.com/advisory/ntap-20210706-0005/ | CVE | Third Party Advisory |
| https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff | [email protected] | PatchThird Party Advisory |
| https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693 | [email protected] | ExploitMitigationPatchThird Party Advisory |
| https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30%40%3Ccommits.tinkerpop.apache.org%3E | [email protected] | |
| https://security.netapp.com/advisory/ntap-20210706-0005/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ws project ws | >= 5.0.0, < 6.2.2 >= 7.0.0, < 7.4.6 |
CPE
Remediation
| |
| netapp e-series performance analyzer | All versions |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Jun 4, 2022 | Modified Analysis | [email protected] |
| Jul 6, 2021 | CVE Modified | [email protected] |
| Jul 1, 2021 | CVE Modified | [email protected] |
| Jun 2, 2021 | Initial Analysis | [email protected] |