mpulsemobile / doccano

Open source text annotation tool for machine learning practitioner.
https://doccano.herokuapp.com
MIT License
0 stars 0 forks source link

WS-2019-0027 (Medium) detected in marked-0.3.19.js - autoclosed #23

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

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

WS-2019-0027 - Medium Severity Vulnerability

Vulnerable Library - marked-0.3.19.js

A markdown parser built for speed

Library home page: https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.19/marked.js

Path to dependency file: doccano/app/server/static/node_modules/marked/www/demo.html

Path to vulnerable library: doccano/app/server/static/node_modules/marked/www/../lib/marked.js

Dependency Hierarchy: - :x: **marked-0.3.19.js** (Vulnerable Library)

Vulnerability Details

Versions 0.3.17 and earlier of marked has Four regexes were vulnerable to catastrophic backtracking. This leaves markdown servers open to a potential REDOS attack.

Publish Date: 2018-02-26

URL: WS-2019-0027

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://github.com/markedjs/marked/commit/b15e42b67cec9ded8505e9d68bb8741ad7a9590d

Release Date: 2019-03-17

Fix Resolution: 0.3.18

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

:information_source: This issue was automatically closed by WhiteSource because it is a duplicate of an existing issue: #24