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.
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)."
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
Vulnerable Library - moment-1.0.0.tgz
Moment.js is a javascript date library that helps create, manipulate, and format dates without extending the `Date` prototype.
Library home page: https://registry.npmjs.org/moment/-/moment-1.0.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/moment/package.json
Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17
Vulnerabilities
Unreachable
Unreachable
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2017-18214
### Vulnerable Library - moment-1.0.0.tgzMoment.js is a javascript date library that helps create, manipulate, and format dates without extending the `Date` prototype.
Library home page: https://registry.npmjs.org/moment/-/moment-1.0.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/moment/package.json
Dependency Hierarchy: - :x: **moment-1.0.0.tgz** (Vulnerable Library)
Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### 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
### Threat AssessmentExploit Maturity: Not Defined
EPSS: 0.2%
### 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: 2.19.3
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.CVE-2016-4055
### Vulnerable Library - moment-1.0.0.tgzMoment.js is a javascript date library that helps create, manipulate, and format dates without extending the `Date` prototype.
Library home page: https://registry.npmjs.org/moment/-/moment-1.0.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/moment/package.json
Dependency Hierarchy: - :x: **moment-1.0.0.tgz** (Vulnerable Library)
Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### 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
### Threat AssessmentExploit Maturity: Not Defined
EPSS: 0.70000005%
### 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: 2.11.2
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.