Open mend-bolt-for-github[bot] opened 1 year ago
:heavy_check_mark: 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.
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
WS-2021-0638 - High Severity Vulnerability
mocha-7.2.0.tgz
simple, flexible, fun test framework
Library home page: https://registry.npmjs.org/mocha/-/mocha-7.2.0.tgz
Path to dependency file: /net-emissions-token-network/package.json
Path to vulnerable library: /net-emissions-token-network/package.json
Dependency Hierarchy: - hardhat-2.1.2.tgz (Root Library) - :x: **mocha-7.2.0.tgz** (Vulnerable Library)
mocha-8.4.0.tgz
simple, flexible, fun test framework
Library home page: https://registry.npmjs.org/mocha/-/mocha-8.4.0.tgz
Path to dependency file: /utility-emissions-channel/chaincode/typescript/package.json
Path to vulnerable library: /utility-emissions-channel/chaincode/typescript/node_modules/mocha/package.json
Dependency Hierarchy: - :x: **mocha-8.4.0.tgz** (Vulnerable Library)
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: /utility-emissions-channel/chaincode/node/package.json
Path to vulnerable library: /utility-emissions-channel/chaincode/node/node_modules/mocha/package.json
Dependency Hierarchy: - :x: **mocha-5.2.0.tgz** (Vulnerable Library)
mocha-9.0.1.tgz
simple, flexible, fun test framework
Library home page: https://registry.npmjs.org/mocha/-/mocha-9.0.1.tgz
Path to dependency file: /utility-emissions-channel/typescript_app/package.json
Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/mocha/package.json
Dependency Hierarchy: - :x: **mocha-9.0.1.tgz** (Vulnerable Library)
Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90
Found in base branch: main
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
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.Type: Upgrade version
Release Date: 2021-09-18
Fix Resolution (mocha): 10.1.0
Direct dependency fix Resolution (hardhat): 2.10.0
Step up your Open Source Security Game with Mend here