Resource exhaustion in NetApp E-Series Performance Analyzer
CVE-2021-32640
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.028, 86.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- NetApp E-Series Performance Analyzer
- Websockets Ws — versions >= 5.0.0 <= 7.4.5
- Ws Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 7 other repositories (amitgandole-tal/nodejs-cve, anthonykirby/lora-packet, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693 (Exploit, Patch, Third Party Advisory, Mitigation)
- github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff (Patch, Third Party Advisory)
- [tinkerpop-commits] 20210701 [tinkerpop] 01/03: Bumped ws to 6.2.2 to address CVE-2021-32640 CTR (mailing-list)
- security.netapp.com/advisory/ntap-20210706-0005/ (Third Party Advisory)