finos / cla-bot

cla-bot is a GitHub bot for automation of Contributor Licence Agreements (CLAs).
https://finos.github.io/cla-bot/
Apache License 2.0
45 stars 27 forks source link

WS-2015-0015 (Medium) detected in ms-0.7.0.tgz #174

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

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

WS-2015-0015 - Medium Severity Vulnerability

Vulnerable Library - ms-0.7.0.tgz

Tiny ms conversion utility

Library home page: https://registry.npmjs.org/ms/-/ms-0.7.0.tgz

Path to dependency file: /tmp/ws-scm/cla-bot/package.json

Path to vulnerable library: /tmp/ws-scm/cla-bot/node_modules/express-session/node_modules/ms/package.json

Dependency Hierarchy: - express-3.20.3.tgz (Root Library) - connect-2.29.2.tgz - express-session-1.10.4.tgz - debug-2.1.3.tgz - :x: **ms-0.7.0.tgz** (Vulnerable Library)

Found in HEAD commit: 728af6547d8b346b13cb8e7fe8c30e8a0df3cbeb

Vulnerability Details

Ms is vulnerable to regular expression denial of service (ReDoS) when extremely long version strings are parsed.

Publish Date: 2015-10-24

URL: WS-2015-0015

CVSS 2 Score Details (5.3)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://nodesecurity.io/advisories/46

Release Date: 2015-10-24

Fix Resolution: Update to version 0.7.1 or greater. An alternative would be to limit the input length of the user input before passing it into ms.