HIGH7.5
PYSEC-2022-237
Quick fix
PYSEC-2022-237 — mistune: upgrade to the fixed version with the command below.
pip install --upgrade 'mistune>=a6d43215132fe4f3d93f8d7e90ba83b16a0838b2'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/mistune
Introduced in:
0Fixed in: a6d43215132fe4f3d93f8d7e90ba83b16a0838b2Fix
pip install --upgrade 'mistune>=a6d43215132fe4f3d93f8d7e90ba83b16a0838b2'