CVE-2019-25781
Python-Markdown 3.0 through 3.11.2 contains an algorithmic …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Python-Markdown/markdown
- github.com/Python-Markdown/markdown/blob/b41e0aaf1181f1a8cb200cf5a815aad7c0020d23/markdown
- github.com/Python-Markdown/markdown/issues/1654
- github.com/Python-Markdown/markdown/issues/798
- www.vulncheck.com/advisories/python-markdown-3.0-through-3.11.2-denial-of-service-via-link
- nvd.nist.gov/vuln/detail/CVE-2019-25781
- cve.org/CVERecord?id=CVE-2019-25781
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.