Regular Expression Denial of Service (ReDoS) Affecting simple-markdown package, versions <0.5.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-SIMPLEMARKDOWN-460540
  • published 1 Sep 2019
  • disclosed 30 Aug 2019
  • credit ariabuckles

Introduced: 30 Aug 2019

CVE NOT AVAILABLE CWE-400 Open this link in a new tab

How to fix?

Upgrade simple-markdown to version 0.5.2 or higher.

Overview

simple-markdown is a markdown-like parser designed for simplicity and extensibility.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via inline code blocks.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    Low