tlkh/ai-lab

WS-2019-0019 Medium Severity Vulnerability detected by WhiteSource

mend-bolt-for-github opened this issue · 1 comments

WS-2019-0019 - Medium Severity Vulnerability

Vulnerable Library - braces-1.8.5.tgz

Fastest brace expansion for node.js, with the most complete support for the Bash 4.3 braces specification.

Library home page: https://registry.npmjs.org/braces/-/braces-1.8.5.tgz

Path to dependency file: /ai-lab/package.json

Path to vulnerable library: /tmp/git/ai-lab/node_modules/jscodeshift/node_modules/braces/package.json

Dependency Hierarchy:

  • cli-0.5.0.tgz (Root Library)
    • application-manager-0.5.0.tgz
      • webpack-cli-2.0.12.tgz
        • jscodeshift-0.5.1.tgz
          • micromatch-2.3.11.tgz
            • braces-1.8.5.tgz (Vulnerable Library)

Found in HEAD commit: 082fbcbc8c2ef8fc2f905bd9e108a64bbeabbbfe

Vulnerability Details

Version of braces prior to 2.3.1 are vulnerable to Regular Expression Denial of Service (ReDoS). Untrusted input may cause catastrophic backtracking while matching regular expressions. This can cause the application to be unresponsive leading to Denial of Service.

Publish Date: 2019-03-25

URL: WS-2019-0019

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/786

Release Date: 2019-02-21

Fix Resolution: 2.3.1


Step up your Open Source Security Game with WhiteSource here

tlkh commented

Resolved, not using actually Theia (/ai-lab/package.json is not used)