{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32640","published":"2021-05-25T19:15:07.767000Z","last_modified":"2026-06-17T03:53:19.733000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-400"],"cpes":[{"criteria":"cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*","part":"a","vendor":"ws_project","product":"ws","version_start_including":"5.0.0","version_end_excluding":"6.2.2"},{"criteria":"cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*","part":"a","vendor":"ws_project","product":"ws","version_start_including":"7.0.0","version_end_excluding":"7.4.6"},{"criteria":"cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*","part":"a","vendor":"netapp","product":"e-series_performance_analyzer"}],"cpes_truncated":false,"vendors":["ws_project","netapp"],"products":["ws_project/ws","netapp/e-series_performance_analyzer"],"epss":{"score":0.029,"percentile":0.87697,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6fc8-4gx4-v693","ecosystem":"npm","name":"ws","purl":"pkg:npm/ws","ranges":[{"introduced":"7.0.0","fixed":"7.4.6"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6fc8-4gx4-v693","ecosystem":"npm","name":"ws","purl":"pkg:npm/ws","ranges":[{"introduced":"6.0.0","fixed":"6.2.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6fc8-4gx4-v693","ecosystem":"npm","name":"ws","purl":"pkg:npm/ws","ranges":[{"introduced":"5.0.0","fixed":"5.2.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-32640/","html_en":"/en/cve/CVE-2021-32640/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32640","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32640"},"untrusted":{"vendor_name":"Ws Project","product_name":"Ws","desc_en":"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.","affected":[{"untrusted_vendor":"websockets","untrusted_product":"ws","versions":[]}],"references":[{"url":"https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693","tags":["Exploit","Mitigation","Patch","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30%40%3Ccommits.tinkerpop.apache.org%3E","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20210706-0005/","tags":["Third Party Advisory"]}]}}