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-v673
JSON: 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: Repository: https://github.com/lepture/mistune
Blast Radius: 41.3

Affected Packages

pypi:mistune
Dependent packages: 274
Dependent 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