Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

WS-2021-0638 (High) detected in mocha-6.2.3.tgz #91

Open
1 task
mend-for-github-com bot opened this issue Sep 6, 2022 · 0 comments
Open
1 task

WS-2021-0638 (High) detected in mocha-6.2.3.tgz #91

mend-for-github-com bot opened this issue Sep 6, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Sep 6, 2022

WS-2021-0638 - High Severity Vulnerability

Vulnerable Library - mocha-6.2.3.tgz

simple, flexible, fun test framework

Library home page: https://registry.npmjs.org/mocha/-/mocha-6.2.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/mocha

Dependency Hierarchy:

  • mocha-6.2.3.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

There is regular Expression Denial of Service (ReDoS) vulnerability in mocha.
It allows cause a denial of service when stripping crafted invalid function definition from strs.

Publish Date: 2021-09-18

URL: WS-2021-0638

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

Release Date: 2021-09-18

Fix Resolution: mocha - 10.1.0


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Sep 6, 2022
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