markdown2@2.4.4 vulnerabilities

A fast and complete Python implementation of Markdown

Direct Vulnerabilities

Known vulnerabilities in the markdown2 package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

markdown2 is a fast and complete Python implementation of Markdown.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regex \*\*(?=\S)(.+?[*_]*)(?<=\S)\*\*. Exploiting this vulnerability will result in catastrophic backtracking

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade markdown2 to version 2.4.11 or higher.

[,2.4.11)