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: /spec/../node_modules/mocha/mocha.js
Dependency Hierarchy:
❌ mocha-3.5.3.js (Vulnerable Library)
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.
Path to vulnerable library: /spec/../node_modules/mocha/mocha.js
Dependency Hierarchy:
❌ mocha-3.5.3.js (Vulnerable Library)
Found in base branch: master
Vulnerability Details
Mocha is vulnerable to ReDoS attack. If the stack trace in utils.js begins with a large error message, and full-trace is not enabled, utils.stackTraceFilter() will take exponential run time.
simple, flexible, fun test framework
Library home page: https://cdnjs.cloudflare.com/ajax/libs/mocha/3.5.3/mocha.js
Path to dependency file: /spec/example.spec.html
Path to vulnerable library: /spec/../node_modules/mocha/mocha.js
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
Vulnerable Library - 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: /spec/example.spec.html
Path to vulnerable library: /spec/../node_modules/mocha/mocha.js
Dependency Hierarchy:
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
Threat Assessment
Exploit Maturity: Not Defined
EPSS:
CVSS 3 Score Details (7.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Release Date: 2021-09-18
Fix Resolution: mocha - 10.1.0
Vulnerable Library - 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: /spec/example.spec.html
Path to vulnerable library: /spec/../node_modules/mocha/mocha.js
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
Mocha is vulnerable to ReDoS attack. If the stack trace in utils.js begins with a large error message, and full-trace is not enabled, utils.stackTraceFilter() will take exponential run time.
Publish Date: 2019-01-24
URL: WS-2019-0425
Threat Assessment
Exploit Maturity: Not Defined
EPSS:
CVSS 3 Score Details (5.3)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Release Date: 2019-01-24
Fix Resolution: v6.0.0
The text was updated successfully, but these errors were encountered: