Versio.io

CVE-2021-32640

Common vulnerabilities & exposures (CVE)

CVE databaseCVE database blogpostRelease & EoL database
 
Published at: - 25-05-2021 09:15
Last modified: - 04-06-2022 04:13
Total changes: - 5

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.

Common Vulnerability Scoring System (CVSS)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Low
Attack complexity
Network
Attack vector
Low
Availability
None
Confidentiality
None
Integrity
None
Privileges required
Unchanged
Scope
None
User interaction
5.3
Base score
3.9
1.4
Exploitability score
Impact score
 

Verification logic

OR
OR
vendor=ws_project AND product=ws AND target_software=node.js AND versionStartIncluding=7.0.0 AND versionEndExcluding=7.4.6
vendor=ws_project AND product=ws AND target_software=node.js AND versionStartIncluding=5.0.0 AND versionEndExcluding=6.2.2
OR
vendor=netapp AND product=e-series_performance_analyzer AND version=-
 

Reference

 


Keywords

NVD

 

CVE-2021-32640

 

CVE

 

Common vulnerabilities & exposures

 

CVSS

 

Common vulnerability scoring system

 

Security

 

Vulnerabilities

 

Exposures

 

We use cookies to ensure that we give you the best experience on our website. Read privacy policies for more information.