Lucene search

K
cveGitHub_MCVE-2021-32640
HistoryMay 25, 2021 - 7:15 p.m.

CVE-2021-32640

2021-05-2519:15:07
CWE-400
GitHub_M
web.nvd.nist.gov
111
11
websocket
node.js
cve-2021-32640
ws
vulnerability
security fix
nvd

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

AI Score

4.9

Confidence

High

EPSS

0.002

Percentile

60.7%

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.

Affected configurations

Nvd
Vulners
Node
ws_projectwsRange5.0.06.2.2node.js
OR
ws_projectwsRange7.0.07.4.6node.js
Node
netappe-series_performance_analyzerMatch-
VendorProductVersionCPE
ws_projectws*cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*
netappe-series_performance_analyzer-cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "ws",
    "vendor": "websockets",
    "versions": [
      {
        "status": "affected",
        "version": ">= 5.0.0 <= 7.4.5"
      }
    ]
  }
]

Social References

More

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

AI Score

4.9

Confidence

High

EPSS

0.002

Percentile

60.7%