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

WS-2021-0638 (High) detected in mocha-5.2.0.tgz, mocha-4.1.0.tgz #277

Open
mend-for-github-com bot opened this issue Sep 6, 2022 · 0 comments
Open
Labels
Mend: dependency 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 Libraries - mocha-5.2.0.tgz, mocha-4.1.0.tgz

mocha-5.2.0.tgz

simple, flexible, fun test framework

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/mocha/package.json

Dependency Hierarchy:

  • mocha-5.2.0.tgz (Vulnerable Library)
mocha-4.1.0.tgz

simple, flexible, fun test framework

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/codeceptjs/node_modules/mocha/package.json

Dependency Hierarchy:

  • codeceptjs-1.4.6.tgz (Root Library)
    • mocha-4.1.0.tgz (Vulnerable Library)

Found in HEAD commit: 2e9d597fe70064b9c61d9203c8a93a380a667238

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): 6.0.0-0

Direct dependency fix Resolution (codeceptjs): 2.3.0


⛑️ Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Sep 6, 2022
@mend-for-github-com mend-for-github-com bot changed the title WS-2021-0638 (Medium) detected in mocha-5.2.0.tgz, mocha-4.1.0.tgz WS-2021-0638 (High) detected in mocha-5.2.0.tgz, mocha-4.1.0.tgz Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants