UCTalent / uc-smartcontracts

0 stars 0 forks source link

mocha-10.0.0.tgz: 1 vulnerabilities (highest severity is: 7.5) #3

Open mend-bolt-for-github[bot] opened 4 weeks ago

mend-bolt-for-github[bot] commented 4 weeks ago
Vulnerable Library - mocha-10.0.0.tgz

simple, flexible, fun test framework

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: 6d51f66ea859de9098d90f6ea84f57cc6277d88b

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (mocha version) Remediation Possible**
WS-2021-0638 High 7.5 mocha-10.0.0.tgz Direct 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-10.0.0.tgz

simple, flexible, fun test framework

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy: - :x: **mocha-10.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: 6d51f66ea859de9098d90f6ea84f57cc6277d88b

Found in base branch: main

### 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: 10.1.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)