CVE-2019-25781
CVE-2019-25781 · Python-Markdown 3.0 through 3.11.2 Denial of Service via Link Bracket Parsing
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.7 · Élevée · EPSS 0,4%
- Publication
- Mise à jour
Produits et versions concernés
markdown
- Versions du logiciel
- ≥ 3.0, ≤ 3.11.2: Concernée (custom)
Aucun correctif publié
Sources originales
- https://github.com/Python-Markdown/markdown/issues/798
- https://github.com/Python-Markdown/markdown
- https://github.com/Python-Markdown/markdown/issues/1654
- https://github.com/Python-Markdown/markdown/blob/b41e0aaf1181f1a8cb200cf5a815aad7c0020d23/markdown/inlinepatterns.py#L1155-L1172
- https://www.vulncheck.com/advisories/python-markdown-3.0-through-3.11.2-denial-of-service-via-link-bracket-parsing
- https://nvd.nist.gov/vuln/detail/CVE-2019-25781