CVE-2021-32640
CVSS V2 Medium 5
CVSS V3 Medium 5.3
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.
Overview
- CVE ID
- CVE-2021-32640
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-05-25T19:15:07
- Last Modified Date
- 2022-06-04T02:13:35
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:* | 1 | OR | 5.0.0 | 6.2.2 |
cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:* | 1 | OR | 7.0.0 | 7.4.6 |
cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- LOW
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693 | Exploit Mitigation Patch Third Party Advisory |
https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff | Patch Third Party Advisory |
https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30@%3Ccommits.tinkerpop.apache.org%3E | |
https://security.netapp.com/advisory/ntap-20210706-0005/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-32640 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32640 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:08:54 | Added to TrackCVE | |||
2022-12-05 02:58:37 | 2021-05-25T19:15Z | 2021-05-25T19:15:07 | CVE Published Date | updated |
2022-12-05 02:58:37 | 2022-06-04T02:13:35 | CVE Modified Date | updated | |
2022-12-05 02:58:37 | Analyzed | Vulnerability Status | updated |