5.3
MEDIUM CVSS 3.1
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. 21, 2024, 6:07 a.m.

Remotely Exploit :

Yes !
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.

ID Vendor Product Action
1 Netapp e-series_performance_analyzer
1 Ws_project ws
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
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.

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.

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

Updated: 1 month ago
276 stars 28 fork 28 watcher
Born at : Nov. 10, 2021, 11:51 p.m. This repo has been linked 17 different CVEs too.

None

JavaScript

Updated: 4 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : July 3, 2021, 8:31 p.m. This repo has been linked 1 different CVEs too.

List of RegEx DoS (ReDoS) CVEs and resources

security awesome redos regex dos regex-dos pentesting awesome-list regex-security

Updated: 6 months ago
27 stars 3 fork 3 watcher
Born at : June 10, 2021, 1:57 a.m. This repo has been linked 76 different CVEs too.

LoRa radio packet decoder

JavaScript TypeScript

Updated: 1 month ago
272 stars 81 fork 81 watcher
Born at : July 18, 2016, 5:11 p.m. This repo has been linked 8 different CVEs too.

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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff
    Added Reference https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693
    Added Reference https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30%40%3Ccommits.tinkerpop.apache.org%3E
    Added Reference https://security.netapp.com/advisory/ntap-20210706-0005/
  • 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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.47 }} -0.01%

score

0.63425

percentile