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
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.
mend-for-github-combot
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
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-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:
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:
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.
The text was updated successfully, but these errors were encountered: