This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
CVE-2021-32640 (Medium) detected in ws-5.2.2.tgz #154
Labels
security vulnerability
Security vulnerability detected by WhiteSource
CVE-2021-32640 - Medium Severity Vulnerability
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
Library home page: https://registry.npmjs.org/ws/-/ws-5.2.2.tgz
Path to dependency file: stripe-distinct-usage-tracking/package.json
Path to vulnerable library: stripe-distinct-usage-tracking/node_modules/ws
Dependency Hierarchy:
Found in HEAD commit: 635a1ccf00617422e4fcca38e941310c3988aa22
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] (websockets/ws@00c425e). 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 themaxHeaderSize
options.Publish Date: 2021-05-25
URL: CVE-2021-32640
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-6fc8-4gx4-v693
Release Date: 2021-05-25
Fix Resolution: ws - 7.4.6
Step up your Open Source Security Game with WhiteSource here
The text was updated successfully, but these errors were encountered: