Advisory

PYSEC-2022-237

Also known as: CVE-2022-34749, GHSA-fw3v-x4f2-v673

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2022-07-25 23:15 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

mistune

PyPI · All systems

Affected

  • introduced 2.0.0a1, fixed 2.0.3 (ecosystem)

Fixed versions

2.0.3

Fix

  • Fixed version 2.0.3
    pip install --upgrade mistune==2.0.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences