logo

GHSA-wx77-rp39-c6vg markdown

Package

Manager: npm
Name: markdown
Vulnerable Version: >=0 <=0.5.0

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Regular Expression Denial of Service in markdown 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. ## Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.

Metadata

Created: 2020-09-04T15:11:03Z
Modified: 2022-03-24T22:10:13Z
Source: MANUAL
CWE IDs: ["CWE-400"]
Alternative ID: N/A
Finding: F002
Auto approve: 1