Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1mdzN2LXg0ZjItdjY3M84AAtnx
Mistune vulnerable to catastrophic backtracking
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.
Permalink: https://github.com/advisories/GHSA-fw3v-x4f2-v673JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1mdzN2LXg0ZjItdjY3M84AAtnx
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 2 years ago
Updated: 9 months ago
CVSS Score: 8.6
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Identifiers: GHSA-fw3v-x4f2-v673, CVE-2022-34749
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-34749
- https://github.com/lepture/mistune/commit/a6d43215132fe4f3d93f8d7e90ba83b16a0838b2
- https://github.com/lepture/mistune/releases
- https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2022-237.yaml
- https://github.com/lepture/mistune/issues/314#issuecomment-1223972386
- https://github.com/lepture/mistune/commit/ca1e7b506850f4e488823fc7338b49a8f9852718
- https://github.com/pypa/advisory-database/blob/main/vulns/mistune/PYSEC-2022-237.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TQHXITQ2DSBYOILKHXBSBB7PFBPZHF63/
- https://github.com/advisories/GHSA-fw3v-x4f2-v673
Blast Radius: 41.3
Affected Packages
pypi:mistune
Dependent packages: 274Dependent repositories: 64,256
Downloads: 23,800,164 last month
Affected Version Ranges: >= 2.0.0, < 2.0.3
Fixed in: 2.0.3
All affected versions: 2.0.0, 2.0.1, 2.0.2
All unaffected versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.4.1, 0.5.1, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 2.0.3, 2.0.4, 2.0.5, 3.0.0, 3.0.1, 3.0.2