Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

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

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.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-400Uncontrolled Resource Consumption[email protected]
CWE-400Uncontrolled Resource Consumption[email protected]

Affected Products

ProductVersions
ws project ws
>= 5.0.0, < 6.2.2
>= 7.0.0, < 7.4.6

CPE

  • cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*

Remediation

  • No remediation found in references.
netapp e-series performance analyzer
All versions

CPE

  • cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

8 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-32640
NVD Published Date:
May 25, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-32640 Details - Not Deferred