snowdensb / CSPBR

CSP Bit Ranger Solution
0 stars 0 forks source link

CVE-2016-4055 (Medium) detected in moment-2.9.0.min.js, moment-2.9.0.js #11

Open mend-for-github-com[bot] opened 3 years ago

mend-for-github-com[bot] commented 3 years ago

CVE-2016-4055 - Medium Severity Vulnerability

Vulnerable Libraries - moment-2.9.0.min.js, moment-2.9.0.js

moment-2.9.0.min.js

Parse, validate, manipulate, and display dates

Library home page: https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js

Path to vulnerable library: /public/plugins/daterangepicker/moment.min.js

Dependency Hierarchy: - :x: **moment-2.9.0.min.js** (Vulnerable Library)

moment-2.9.0.js

Parse, validate, manipulate, and display dates

Library home page: https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.js

Path to vulnerable library: /public/plugins/daterangepicker/moment.js

Dependency Hierarchy: - :x: **moment-2.9.0.js** (Vulnerable Library)

Found in HEAD commit: 86334f0df744f6cfa35a438987cbb4d18d65b5c2

Found in base branch: master

Vulnerability Details

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)."

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 Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-87vv-r9j6-g5qv

Release Date: 2017-01-23

Fix Resolution: moment - 2.11.2