—
PYSEC-2021-20
Quick fix
PYSEC-2021-20 — markdown2: upgrade to the fixed version with the command below.
pip install --upgrade 'markdown2>=2.4.0'Details
markdown2 >=1.0.1.18, fixed in 2.4.0, is affected by a regular expression denial of service vulnerability. If an attacker provides a malicious string, it can make markdown2 processing difficult or delayed for an extended period of time.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/trentm/python-markdown2/pull/387[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRP5RN35JZTSJ3JT4722F447ZDK7LZS5/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JTIX5UXRDJZJ57DO4V33ZNJTNKWGBQLY/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J752422YELXLMLZJPVJVKD2KKHHQRVEH/[WEB]
- https://github.com/advisories/GHSA-jr9p-r423-9m2r[ADVISORY]