Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2020-7662 (High) detected in websocket-extensions-0.1.3.tgz - autoclosed #47

Closed
mend-bolt-for-github bot opened this issue Feb 25, 2021 · 5 comments · Fixed by #53, #134, #203, #206 or #205
Closed
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Feb 25, 2021

CVE-2020-7662 - High Severity Vulnerability

Vulnerable Library - websocket-extensions-0.1.3.tgz

Generic extension manager for WebSocket connections

Library home page: https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz

Path to dependency file: /integration/angular_cli/package.json

Path to vulnerable library: /integration/angular_cli/node_modules/websocket-extensions/package.json

Dependency Hierarchy:

  • build-angular-0.901.14.tgz (Root Library)
    • webpack-dev-server-3.11.0.tgz
      • sockjs-client-1.4.0.tgz
        • faye-websocket-0.11.3.tgz
          • websocket-driver-0.7.3.tgz
            • websocket-extensions-0.1.3.tgz (Vulnerable Library)

Found in HEAD commit: df8abeb8e49f7a19502084e835c603107b21e7a3

Found in base branch: master

Vulnerability Details

websocket-extensions npm module prior to 0.1.4 allows Denial of Service (DoS) via Regex Backtracking. The extension parser may take quadratic time when parsing a header containing an unclosed string parameter value whose content is a repeating two-byte sequence of a backslash and some other character. This could be abused by an attacker to conduct Regex Denial Of Service (ReDoS) on a single-threaded server by providing a malicious payload with the Sec-WebSocket-Extensions header.

Publish Date: 2020-06-02

URL: CVE-2020-7662

CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-g78m-2chm-r7qv

Release Date: 2020-06-02

Fix Resolution (websocket-extensions): 0.1.4

Direct dependency fix Resolution (@angular-devkit/build-angular): 13.3.3


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Feb 25, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-7662 (High) detected in websocket-extensions-0.1.3.tgz CVE-2020-7662 (High) detected in websocket-extensions-0.1.3.tgz - autoclosed Jul 6, 2021
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

2 similar comments
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

@mend-bolt-for-github
Copy link
Author

ℹ️ This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-7662 (High) detected in websocket-extensions-0.1.3.tgz - autoclosed CVE-2020-7662 (High) detected in websocket-extensions-0.1.3.tgz Sep 9, 2021
@mend-bolt-for-github mend-bolt-for-github bot reopened this Sep 9, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-7662 (High) detected in websocket-extensions-0.1.3.tgz CVE-2020-7662 (High) detected in websocket-extensions-0.1.3.tgz - autoclosed Jun 15, 2022
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment