You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path to vulnerable library: /node_modules/mocha/package.json
Dependency Hierarchy:
solidity-coverage-0.5.11.tgz (Root Library)
solidity-parser-sc-0.4.12.tgz
❌ mocha-4.1.0.tgz (Vulnerable Library)
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.
WS-2021-0638 - High Severity Vulnerability
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/truffle/node_modules/mocha/package.json
Dependency Hierarchy:
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/mocha/package.json
Dependency Hierarchy:
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:
Type: Upgrade version
Release Date: 2021-09-18
Fix Resolution (mocha): 6.0.0-0
Direct dependency fix Resolution (truffle): 5.1.34
Fix Resolution (mocha): 6.0.0-0
Direct dependency fix Resolution (solidity-coverage): 0.6.0
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: