Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
The moment module before 2.19.3 for Node.js is prone to a regular expression denial of service via a crafted date string, a different vulnerability than CVE-2016-4055.
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."
Vulnerable Library - moment-2.5.1.min.js
Parse, validate, manipulate, and display dates
Library home page: https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.5.1/moment.min.js
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2017-18214
### Vulnerable Library - moment-2.5.1.min.jsParse, validate, manipulate, and display dates
Library home page: https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.5.1/moment.min.js
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Dependency Hierarchy: - :x: **moment-2.5.1.min.js** (Vulnerable Library)
Found in base branch: main
### Vulnerability DetailsThe moment module before 2.19.3 for Node.js is prone to a regular expression denial of service via a crafted date string, a different vulnerability than CVE-2016-4055.
Publish Date: 2018-03-04
URL: CVE-2017-18214
### CVSS 3 Score Details (7.5)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. ### Suggested FixType: Upgrade version
Origin: https://github.com/advisories/GHSA-446m-mv8f-q348
Release Date: 2018-03-04
Fix Resolution: moment - 2.19.3
CVE-2016-4055
### Vulnerable Library - moment-2.5.1.min.jsParse, validate, manipulate, and display dates
Library home page: https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.5.1/moment.min.js
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/cucumber-html-reporter/samples/html_reports/cucumber_report_hierarchy.html
Dependency Hierarchy: - :x: **moment-2.5.1.min.js** (Vulnerable Library)
Found in base branch: main
### Vulnerability DetailsThe duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."
Publish Date: 2017-01-23
URL: CVE-2016-4055
### CVSS 3 Score Details (6.5)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://github.com/advisories/GHSA-87vv-r9j6-g5qv
Release Date: 2017-01-23
Fix Resolution: moment - 2.11.2