angular-recaptcha icon indicating copy to clipboard operation
angular-recaptcha copied to clipboard

WS-2019-0019 (Medium) detected in braces-1.8.5.tgz, braces-0.1.5.tgz

Open mend-for-github-com[bot] opened this issue 4 years ago • 0 comments

WS-2019-0019 - Medium Severity Vulnerability

Vulnerable Libraries - braces-1.8.5.tgz, braces-0.1.5.tgz

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: /tmp/ws-scm/angular-recaptcha/package.json

Path to vulnerable library: /tmp/ws-scm/angular-recaptcha/node_modules/anymatch/node_modules/braces/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • chokidar-1.7.0.tgz
      • anymatch-1.3.2.tgz
        • micromatch-2.3.11.tgz
          • :x: braces-1.8.5.tgz (Vulnerable Library)
braces-0.1.5.tgz

Fastest brace expansion lib. Typically used with file paths, but can be used with any string. Expands comma-separated values (e.g. `foo/{a,b,c}/bar`) and alphabetical or numerical ranges (e.g. `{1..9}`)

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

Path to dependency file: /tmp/ws-scm/angular-recaptcha/package.json

Path to vulnerable library: /tmp/ws-scm/angular-recaptcha/node_modules/expand-braces/node_modules/braces/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • expand-braces-0.1.2.tgz
      • :x: braces-0.1.5.tgz (Vulnerable Library)

Found in HEAD commit: d0c7317c1908251604c4e710c797fdf348d2bc46

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: 2018-02-16

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