5.3

CVE-2021-32640: ReDoS in Sec-Websocket-Protocol header

Modified
AliasesUBUNTU-CVE-2021-32640DEBIAN-CVE-2021-32640GHSA-6fc8-4gx4-v693
Published 25-05-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32640 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in netapp e-series_performance_analyzer. EPSS estimates a 2.90% chance of exploitation in the next 30 days, higher than 87.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
2.90%
0%100%
Low · +0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 25-05-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

2.90%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

Increase +0.08 pp

From 2.82% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Ws

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • node-ws< 7.4.2+~cs18.0.8-2
Netapp1 product
Npm1 product
  • ws≥ 7.0.0, < 7.4.6 | ≥ 6.0.0, < 6.2.2 | ≥ 5.0.0, < 5.2.3
Ubuntu1 product
  • node-wsAll versions (No fix recorded)
Websockets1 product
  • ws≥ 5.0.0 <= 7.4.5 (No fix recorded)
Ws_project1 product
  • ws≥ 5.0.0, < 6.2.2 | ≥ 7.0.0, < 7.4.6

6 vendors · 6 products

References

12 links
Show all 12 references