PyPA Advisory Database
PYSEC-2022-237
Details
In mistune through 2.0.2, support of inline markup is implemented by using regular expressions that can involve a high amount of backtracking on certain edge cases. This behavior is commonly named catastrophic backtracking.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | mistune | From 2.0.0a1 before 2.0.3 (fixed in 2.0.3) |