CVEsPython-MarkdownCVE-2019-25781Published Oct 29, 13:08 · Updated Oct 29, 13:08 UTC
7.5
HighCVSS 3.1 · from VulnCheck
CVE-2019-25781

Python-Markdown 3.0 through 3.11.2 Denial of Service via Link Bracket Parsing

Markdown · CWE-407 · CWE-407
AffectedMarkdown
FixNo fix listed yet.
PublishedOct 29, 13:08 · VulnCheck
ScoredOct 29 · 7.5 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:06 UTC

What we know

No known exploitation. CISA KEV, checked 22:06 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
A successful attack can take the service down. CVSS impact.

Description

Python-Markdown 3.0 through 3.11.2 contains an algorithmic complexity vulnerability in inline link parsing that allows remote attackers to exhaust CPU through unmatched brackets. Attackers can submit short Markdown containing repeated [ or ![ characters, forcing LinkInlineProcessor.getText() and getLink() into quadratic scans that keep workers busy for minutes.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed inMarkdown3.0 – 3.11.2–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

GitHub Issue #798 · github.comissue trackinggithub.com/Python-Markdown/markdown · github.comproductGitHub Issue #1654 · github.comissue trackinggithub.com/Python-Markdown/markdown/blob/b41e0aaf1181f1a8cb200cf5a815aad7c0020d23/markdown/inlinepatterns.py#L1155-L1172 · github.comtechnical descriptionVulnCheck Advisory: Python-Markdown 3.0 through 3.11.2 Denial of Service via Link Bracket Parsing · vulncheck.comthird party advisory