CVE-2021-32640
"ws Slow-Down Header Injection Vulnerability"
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.
INFO
Published Date :
May 25, 2021, 7:15 p.m.
Last Modified :
Nov. 7, 2023, 3:35 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-32640 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-32640
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-32640
.
URL | Resource |
---|---|
https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff | Patch Third Party Advisory |
https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693 | Exploit Mitigation Patch Third Party Advisory |
https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30%40%3Ccommits.tinkerpop.apache.org%3E | |
https://security.netapp.com/advisory/ntap-20210706-0005/ | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Awesome information for WebSockets security research
security websocket websockets security-tools websocket-security websockets-security web-application-security
None
JavaScript
List of RegEx DoS (ReDoS) CVEs and resources
security awesome redos regex dos regex-dos pentesting awesome-list regex-security
LoRa radio packet decoder
JavaScript TypeScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-32640
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-32640
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30%40%3Ccommits.tinkerpop.apache.org%3E [No types assigned] Removed Reference GitHub, Inc. https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30@%3Ccommits.tinkerpop.apache.org%3E -
Modified Analysis by [email protected]
Jun. 04, 2022
Action Type Old Value New Value Changed Reference Type https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30@%3Ccommits.tinkerpop.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30@%3Ccommits.tinkerpop.apache.org%3E Mailing List, Patch, Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20210706-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20210706-0005/ Third Party Advisory Added CWE NIST CWE-400 Added CPE Configuration OR *cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jul. 06, 2021
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20210706-0005/ [No Types Assigned] -
CVE Modified by [email protected]
Jul. 01, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30@%3Ccommits.tinkerpop.apache.org%3E [No Types Assigned] -
Initial Analysis by [email protected]
Jun. 02, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Changed Reference Type https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff No Types Assigned https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff Patch, Third Party Advisory Changed Reference Type https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693 No Types Assigned https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693 Exploit, Mitigation, Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:* versions from (including) 5.0.0 up to (excluding) 6.2.2 *cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:* versions from (including) 7.0.0 up to (excluding) 7.4.6
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-32640
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-32640
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.22 }} 0.03%
score
0.59571
percentile