Lucene search

K
ubuntucveUbuntu.comUB:CVE-2021-32640
HistoryMay 25, 2021 - 12:00 a.m.

CVE-2021-32640

2021-05-2500:00:00
ubuntu.com
ubuntu.com
17
websocket library
node.js
vulnerability
mitigation
maximum header size

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

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.

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

EPSS

0.002

Percentile

60.7%