CVE & CISA-KEV Catalog

CVE-2021-32640

MEDIUMEPSS 85th pctl
5.3
CVSS v3
NVD

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` and/or the `maxHeaderSize` options.

How to fix

Remediation Available
node-wsDebian
Fixed in:7.4.2+~cs18.0.8-2CVE-2021-32640
Fixed in:7.4.2+~cs18.0.8-2CVE-2021-32640
Fixed in:7.4.2+~cs18.0.8-2CVE-2021-32640
Fixed in:7.4.2+~cs18.0.8-2CVE-2021-32640

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploit Intelligence

2.82%probability of exploitation in 30 days
85thpercentile

Elevated risk: more likely to be exploited than 85% of all known CVEs.

References

Third-Party Advisory1
Other references1

Related Vulnerabilities

Other CWE-400 (Resource Exhaustion) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-44487High7.5100%KEVFix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2011-3192High7.899%-Fix
CVE-2019-11478Medium5.395%-Fix
CVE-2024-25617Medium5.389%-Fix
CVE-2018-1000115High7.589%-Fix
Embed a live status badge for CVE-2021-32640
CVE-2021-32640 severity badge

Markdown

[![CVE-2021-32640](https://tridentstack.com/cve/badge/CVE-2021-32640.svg)](https://tridentstack.com/cve/CVE-2021-32640)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-32640"><img src="https://tridentstack.com/cve/badge/CVE-2021-32640.svg" alt="CVE-2021-32640"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.