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

mocha-7.1.1.js: 1 vulnerabilities (highest severity is: 7.5) #26

Open
mend-bolt-for-github bot opened this issue Jun 29, 2023 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jun 29, 2023

Vulnerable Library - mocha-7.1.1.js

simple, flexible, fun test framework

Library home page: https://cdnjs.cloudflare.com/ajax/libs/mocha/7.1.1/mocha.js

Path to dependency file: /vendor/blueimp/jquery-file-upload/test/index.html

Path to vulnerable library: /vendor/blueimp/jquery-file-upload/test/vendor/mocha.js,/vendor/blueimp/jquery-file-upload/test/vendor/mocha.js

Found in HEAD commit: ad06856b39153f425da332dea44087d7b4bf93ce

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (mocha version) Remediation Possible**
WS-2021-0638 High 7.5 mocha-7.1.1.js Direct mocha - 10.1.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

WS-2021-0638

Vulnerable Library - mocha-7.1.1.js

simple, flexible, fun test framework

Library home page: https://cdnjs.cloudflare.com/ajax/libs/mocha/7.1.1/mocha.js

Path to dependency file: /vendor/blueimp/jquery-file-upload/test/index.html

Path to vulnerable library: /vendor/blueimp/jquery-file-upload/test/vendor/mocha.js,/vendor/blueimp/jquery-file-upload/test/vendor/mocha.js

Dependency Hierarchy:

  • mocha-7.1.1.js (Vulnerable Library)

Found in HEAD commit: ad06856b39153f425da332dea44087d7b4bf93ce

Found in base branch: raconteur

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

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 Mend label Jun 29, 2023
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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants