PyPA Advisory Database
PYSEC-2021-20
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | markdown2 | From 1.0.1.18 before 2.4.0 (fixed in 2.4.0) |
References
- https://github.com/trentm/python-markdown2/pull/387
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BRP5RN35JZTSJ3JT4722F447ZDK7LZS5/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JTIX5UXRDJZJ57DO4V33ZNJTNKWGBQLY/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/J752422YELXLMLZJPVJVKD2KKHHQRVEH/
- https://github.com/advisories/GHSA-jr9p-r423-9m2r