AlexRogalskiy / java-patterns

🏆 Java4You Design patterns
https://alexander-rogalsky.gitbook.io/java-patterns/
GNU General Public License v3.0
11 stars 4 forks source link

WS-2020-0104 (Medium) detected in markdown-0.5.0.tgz #1607

Closed mend-bolt-for-github[bot] closed 1 year ago

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

WS-2020-0104 - Medium Severity Vulnerability

Vulnerable Library - markdown-0.5.0.tgz

A sensible Markdown parser for javascript

Library home page: https://registry.npmjs.org/markdown/-/markdown-0.5.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/markdown/package.json

Dependency Hierarchy: - adr-tools-2.0.4.tgz (Root Library) - :x: **markdown-0.5.0.tgz** (Vulnerable Library)

Found in HEAD commit: c0edce5d2bb1e28540644cc313a7a0a07605ce25

Found in base branch: master

Vulnerability Details

All versions of markdown are vulnerable to Regular Expression Denial of Service (ReDoS). The markdown.toHTML() function has significantly degraded performance when parsing long strings containing underscores. This may lead to Denial of Service if the parser accepts user input.

Publish Date: 2020-05-20

URL: WS-2020-0104

CVSS 3 Score Details (5.9)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - 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://nvd.nist.gov/vuln/detail/WS-2020-0104

Release Date: 2020-05-20

Fix Resolution: no_fix


Step up your Open Source Security Game with WhiteSource here

github-actions[bot] commented 2 years ago

👋 Thanks for reporting!

github-actions[bot] commented 2 years ago

Message that will be displayed on users' first issue

github-actions[bot] commented 1 year ago

Greetings! Sorry to say but this is a very old issue that is probably not getting as much attention as it deservers. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to open a new one.

github-actions[bot] commented 3 months ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://github.com/AlexRogalskiy/java-patterns/blob/master/.github/ISSUE_TEMPLATE/bug_report.md), and link to this old issue if necessary.