geofffranks / spruce

A BOSH template merge tool
MIT License
433 stars 78 forks source link

CVE-2016-4055 (Medium) detected in moment-2.10.2.js #321

Closed mend-bolt-for-github[bot] closed 4 years ago

mend-bolt-for-github[bot] commented 4 years ago

CVE-2016-4055 - Medium Severity Vulnerability

Vulnerable Library - moment-2.10.2.js

Parse, validate, manipulate, and display dates

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

Path to dependency file: /tmp/ws-scm/spruce/vendor/github.com/smartystreets/goconvey/web/client/index.html

Path to vulnerable library: /spruce/vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/moment.js,/spruce/vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/moment.js

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

Found in HEAD commit: 66c58daa21fb1d7c8b0ff833ad4544035c070300

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4055

Release Date: 2017-01-23

Fix Resolution: 2.11.2


Step up your Open Source Security Game with WhiteSource here

geofffranks commented 4 years ago

Part of goconvey. Updated to latest goconvey version, closing tosee if whitesource re-opens with latest dependency being scanned