This repository has been archived by the owner on Oct 26, 2021. It is now read-only.
CVE-2021-32640 (Medium) detected in ws-7.4.5.tgz #409
Labels
security vulnerability
Security vulnerability detected by WhiteSource
CVE-2021-32640 - Medium Severity Vulnerability
Vulnerable Library - ws-7.4.5.tgz
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
Library home page: https://registry.npmjs.org/ws/-/ws-7.4.5.tgz
Path to dependency file: web-ui/package.json
Path to vulnerable library: web-ui/node_modules/ws/package.json
Dependency Hierarchy:
Found in HEAD commit: 7dec6dd61a85db2fcf96445c033a5a8c84d6a157
Found in base branch: main
Vulnerability Details
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
CVSS 3 Score Details (5.3)
Base Score Metrics:
Suggested Fix
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: