Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
A Regular-Expression Denial of Service (ReDoS) in the Markdown2. extract_metadata() function (lib/markdown2.py) of trentm markdown2 through v2.5.5 allows attackers to cause a Denial of Service (DoS) via a crafted Markdown document.
A flaw was found in markdown2. In the extract_metadata function, an inefficient regular expression used to parse document metadata can take an exponential amount of time to process. An attacker can exploit this vulnerability by providing a crafted Markdown document, causing excessive resource consumption and leading to a Denial of Service (DoS).

