Security readout for executives and security teams
Plain-English summary
CVE-2021-32640 affects the Node.js ws WebSocket library. A malformed Sec-Websocket-Protocol request header can make a vulnerable server slow down significantly. The business impact is service availability, not data theft or tampering. Public-facing WebSocket services using ws versions 5.0.0 through 7.4.5 deserve timely remediation.
Executive priority
Treat as a moderate availability risk. Prioritize externally reachable WebSocket services and high-traffic systems, then remediate internal deployments through normal patch cycles. No source in the bundle supports emergency response for active exploitation.
Technical view
The issue is a ReDoS-style resource consumption flaw in ws header handling, tracked as CWE-400. It is network reachable, needs no authentication or user interaction, and has CVSS 5.3. Affected versions are ws >=5.0.0 through <=7.4.5. The cited fix is ws 7.4.6.
Likely exposure
Exposure is most likely in Node.js applications, appliances, or downstream products that bundle ws and accept WebSocket upgrade requests. Internet-facing WebSocket endpoints have the highest operational risk. Internal-only services still matter if untrusted clients can reach them.
Exploitation context
The bundle does not cite active exploitation, and KEV is false. The flaw is plausible to trigger remotely because it is unauthenticated and in request-header processing, but available evidence supports limited availability impact rather than compromise of data or control.
Researcher notes
The key research focus is dependency reachability: whether vulnerable ws code is present and exposed to untrusted WebSocket handshakes. Avoid assuming impact for products merely because Node.js is present; confirm ws version and runtime path.
Mitigation direction
- Upgrade ws to 7.4.6 or a vendor-supported fixed release.
- Reduce maximum allowed HTTP request header length where upgrade is delayed.
- Use Node --max-http-header-size where appropriate.
- Use server maxHeaderSize options where appropriate.
- Check downstream vendor advisories for bundled ws fixes.
Validation and detection
- Inventory package-lock, yarn.lock, pnpm-lock, and SBOMs for ws versions 5.0.0 through 7.4.5.
- Identify applications accepting WebSocket upgrade requests.
- Confirm deployed runtime images include the remediated dependency.
- Review HTTP header size limits on affected Node.js services.
- Track vendor advisories for products embedding ws.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-400: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-32640 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L3.91.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.3MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693CVE reference · x_refsource_CONFIRM
- https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ffCVE reference · x_refsource_MISC
- [tinkerpop-commits] 20210701 [tinkerpop] 01/03: Bumped ws to 6.2.2 to address CVE-2021-32640 CTRCVE reference · mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20210706-0005/CVE reference · x_refsource_CONFIRM
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Uncontrolled Resource Consumption
Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
