Skip to content
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

Open
mend-bolt-for-github bot opened this issue May 28, 2021 · 0 comments
Open

CVE-2021-32640 (Medium) detected in ws-7.4.5.tgz #409

mend-bolt-for-github bot opened this issue May 28, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented May 28, 2021

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:

  • jest-circus-26.6.3.tgz (Root Library)
    • jest-runner-26.6.3.tgz
      • jest-config-26.6.3.tgz
        • jest-environment-jsdom-26.6.2.tgz
          • jsdom-16.5.1.tgz
            • ws-7.4.5.tgz (Vulnerable Library)

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 ws@7.4.6 (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 the maxHeaderSize options.

Publish Date: 2021-05-25

URL: CVE-2021-32640

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

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

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label May 28, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-32640 (Medium) detected in multiple libraries CVE-2021-32640 (Medium) detected in ws-7.4.5.tgz Jun 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants