moment-2.13.0.js: 2 vulnerabilities (highest severity is: 7.5)
mend-bolt-for-github opened this issue · 1 comments
Vulnerable Library - moment-2.13.0.js
Parse, validate, manipulate, and display dates
Library home page: https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.js
Path to vulnerable library: /www/assets/vendor/daterangepicker/moment.js
Found in HEAD commit: 2a721897246d907184579308d51df7141079f955
Vulnerabilities
CVE | Severity | CVSS | Dependency | Type | Fixed in | Remediation Available |
---|---|---|---|---|---|---|
CVE-2017-18214 | High | 7.5 | moment-2.13.0.js | Direct | moment - 2.19.3 | ❌ |
WS-2016-0075 | Medium | 5.3 | moment-2.13.0.js | Direct | moment - 2.15.2 | ❌ |
Details
CVE-2017-18214
Vulnerable Library - moment-2.13.0.js
Parse, validate, manipulate, and display dates
Library home page: https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.js
Path to vulnerable library: /www/assets/vendor/daterangepicker/moment.js
Dependency Hierarchy:
- ❌ moment-2.13.0.js (Vulnerable Library)
Found in HEAD commit: 2a721897246d907184579308d51df7141079f955
Found in base branch: main
Vulnerability Details
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.
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
Suggested Fix
Type: Upgrade version
Origin: GHSA-446m-mv8f-q348
Release Date: 2018-03-04
Fix Resolution: moment - 2.19.3
Step up your Open Source Security Game with WhiteSource here
WS-2016-0075
Vulnerable Library - moment-2.13.0.js
Parse, validate, manipulate, and display dates
Library home page: https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.js
Path to vulnerable library: /www/assets/vendor/daterangepicker/moment.js
Dependency Hierarchy:
- ❌ moment-2.13.0.js (Vulnerable Library)
Found in HEAD commit: 2a721897246d907184579308d51df7141079f955
Found in base branch: main
Vulnerability Details
Regular expression denial of service vulnerability in the moment package, by using a specific 40 characters long string in the "format" method.
Publish Date: 2016-10-24
URL: WS-2016-0075
CVSS 3 Score Details (5.3)
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: Low
Suggested Fix
Type: Upgrade version
Origin: https://github.com/moment/moment/releases/tag/2.15.2
Release Date: 2016-10-24
Fix Resolution: moment - 2.15.2
Step up your Open Source Security Game with WhiteSource here