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-3.5.3.js, mocha-3.5.3.tgz
WS-2021-0638 (High) detected in mocha-3.5.3.js, mocha-3.5.3.tgz
Sep 7, 2022
WS-2021-0638 - High Severity Vulnerability
Vulnerable Libraries - mocha-3.5.3.js, mocha-3.5.3.tgz
mocha-3.5.3.js
simple, flexible, fun test framework
Library home page: https://cdnjs.cloudflare.com/ajax/libs/mocha/3.5.3/mocha.js
Path to dependency file: /UrbanRoast-tutorial/resources/d3-funnel-master/test/test.html
Path to vulnerable library: /UrbanRoast-tutorial/resources/d3-funnel-master/test/../node_modules/mocha/mocha.js
Dependency Hierarchy:
mocha-3.5.3.tgz
simple, flexible, fun test framework
Library home page: https://registry.npmjs.org/mocha/-/mocha-3.5.3.tgz
Path to dependency file: /UrbanRoast-tutorial/resources/d3-funnel-master/package.json
Path to vulnerable library: /UrbanRoast-tutorial/resources/d3-funnel-master/node_modules/mocha/package.json
Dependency Hierarchy:
Found in HEAD commit: 8a027629e1d1d82ce0fb49a090c585960d0967cd
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: 6.0.0-0
The text was updated successfully, but these errors were encountered: