Bug 2112230 (CVE-2022-34749) - CVE-2022-34749 mistune: catastrophic backtracking
Summary: CVE-2022-34749 mistune: catastrophic backtracking
Status: NEW
Alias: CVE-2022-34749
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2112231 2255447 2255448 2112232
Blocks: 2111156
TreeView+ depends on / blocked
Reported: 2022-07-29 06:35 UTC by TEJ RATHI
Modified: 2024-02-28 06:19 UTC (History)
16 users (show)

Fixed In Version: mistune 2.0.3
Doc Type: If docs needed, set a value
Doc Text:
A regular expression denial of service (ReDoS) flaw was found in the asteris emphasis regular expression implementation in Mistune. By sending specially-crafted regex input, a remote attacker could invoke a catastrophic backtrack, resulting in a denial of service.
Clone Of:
Last Closed: 2022-08-30 19:33:00 UTC

Attachments (Terms of Use)

Description TEJ RATHI 2022-07-29 06:35:00 UTC
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.


Comment 1 TEJ RATHI 2022-07-29 06:36:21 UTC
Created python-mistune tracking bugs for this issue:

Affects: epel-all [bug 2112231]
Affects: fedora-all [bug 2112232]

Comment 2 Product Security DevOps Team 2022-08-30 19:32:59 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Note You need to log in before you can comment on or make changes to this bug.