CVE-2022-34749Regex Denial of Service in Project Mistune

Severity
7.5HIGHNVD
EPSS
0.5%
top 33.12%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 25
Latest updateJul 26

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages10 packages

debiandebian/mistune< mistune 2.0.3-1 (bookworm)
PyPImistune_project/mistune2.0.0a12.0.3
Debianmistune_project/mistune< 2.0.3-1+2

Also affects: Fedora 37

Patches

🔴Vulnerability Details

3
GHSA
Mistune vulnerable to catastrophic backtracking2022-07-26
OSV
Mistune vulnerable to catastrophic backtracking2022-07-26
OSV
CVE-2022-34749: In mistune through 22022-07-25

📋Vendor Advisories

3
Red Hat
mistune: catastrophic backtracking2022-07-26
Microsoft
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 cata2022-07-12
Debian
CVE-2022-34749: mistune - In mistune through 2.0.2, support of inline markup is implemented by using regul...2022