WaratekVRT Sign in

CVE-2021-32640 ws

Affected softwarews
Severity5.3 Medium CVSS 3.1 3 scores
WeaknessUncontrolled resource consumption (CWE-400)
Published25 May 2021
Updated17 Jun 2026

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 ws@7.4.6 (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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.8% chance in 30 days

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review automated Upstream data
  • Record active
Decided by The only affected product being a sealed appliance image, where Java runs but no -javaagent can be attached
Finding This CVE names only products the Waratek agent cannot be installed into (netapp/e-series_performance_analyzer). They ship as sealed appliance images or as native code with no application JVM, so there is no start-up line to add -javaagent to. The vulnerability may well be a Java one; it is permanently out of ARMR's reach rather than outside its subject.

CVSS

5.3 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L security-advisories@github.com Secondary published
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L NVD Primary
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:N/I:N/A:P NVD Primary

Affected software and releases

Products and versions

2 products, 3 version entries
SourceVendorProductSchemeAffected versions
nvd netapp e-series performance analyzer generic any version
nvd ws project ws generic ≥ 5.0.0 and < 6.2.2 · ≥ 7.0.0 and < 7.4.6

References

URLTags
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

Timeline

Published2021-05-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.